title: File not found in /data/media/0, but found in /storage/emulated/0
body: <p>I use the smartphone emulator in Android Studio for a Nexus 4, API 23.</p>
  
  <p>I took a picture through its camera, and I can check that the file is present at this different paths through the Android Device Monitor:</p>
  
  <pre><code>/data/media/0/DCIM/Camera/IMG_20160408_143726.jpg (rw-rw-r)
  /storage/emulated/0/DCIM/Camera/IMG_20160408_143726.jpg (rw-rw)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/s8OnM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s8OnM.png" alt="Android Device Monitor"></a></p>
  
  <p>Nevertheless, in my <code>Activity</code> I got different behaviors when I try to read the file:</p>
  
  <pre><code>new File("/data/media/0/DCIM/Camera/IMG_20160408_143726.jpg");
  // isFile at false, canRead at false, length at 0
  
  new File("/storage/emulated/0/DCIM/Camera/IMG_20160408_143726.jpg");
  // isFile at true, canRead at true, length with a real value
  </code></pre>
  
  <p>Why is it so?</p>