title: Android Upload Image using path or uri?
body: <p>I'm having a trouble bringing the images from the gallery to my app.</p>
  
  <p>The hard part is that, in some articles they use uri rather than path, but in others vice versa. </p>
  
  <p>Plus, I'm not also sure... when I get Uri from the intent coming back, should I use cursor to get images data? (<a href="https://stackoverflow.com/questions/43915111/how-to-get-images-from-cursor-in-android">How to get Images from Cursor in android?</a>) In some other references, they do it in the easy way, just with 'getPath()' method.</p>
  
  <p>Do I need either of path or uri? or Only one of these?</p>
  
  <p>I'm so confused now..</p>