title: Android get image from path (gallery, pictures ect)
body: <p>Need to get image from path. I have tried everything but don't seem to get the image.<br><br>
  My two image paths: <br></p>
  
  <pre><code>/storage/emulated/0/DCIM/Camera/20161025_081413.jpg
  content://media/external/images/media/4828
  </code></pre>
  
  <p>How do i set my image from these paths?<br>
  I am using ImageView to display my image.<br><br>
  My code:</p>
  
  <pre><code>File imgFile = new File("/storage/emulated/0/DCIM/Camera/20161025_081413.jpg");
  Bitmap myBitmap = BitmapFactory.decodeFile(imgFile.getAbsolutePath());
  holder.myimage.setImageBitmap(myBitmap);
  </code></pre>
  
  <p>Thanks in advance</p>