title: Mediaplayer fails to open parsed URI
body: <p>Trying to open a file using Uri.parse, but I keep getting denied access to it. I'm very puzzled of what is wrong.</p>
  
  <p>The <code>Manifest.xml</code> cropped for readability</p>
  
  <pre><code>&lt;application&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>The code snippet causing the error:</p>
  
  <pre><code>Uri video = Uri.parse(Environment.getExternalStorageDirectory()
                 .getAbsolutePath()+"/victamjpeg.sdp");
  
  videoView.setVideoURI(video);
  </code></pre>
  
  <p>And the actual error:</p>
  
  <blockquote>
    <p>10-30 01:11:38.640 4293-4293/? W/MediaPlayer: Couldn't open file on client side; trying server side: java.io.FileNotFoundException: No content provider: /storage/1A0C-331C/victamjpeg.sdp</p>
    
    <p>10-30 01:11:38.640 4293-4293/? W/VideoView: java.io.FileNotFoundException: /storage/1A0C-331C/victamjpeg.sdp: open failed: EACCES (Permission denied)</p>
    
    <p>10-30 01:11:38.640 4293-4293/? W/VideoView:     at java.io.FileInputStream.(FileInputStream.java:76)
    10-30 01:11:38.640 4293-4293/? W/VideoView:     at java.io.FileInputStream.(FileInputStream.java:76) </p>
  </blockquote>
  
  <p>It looks like I don't have the permissions to read it, but I have to my knowledge set that permission. Doing an <code>ls -l</code> from <code>adb shell</code> proves that the file is at <code>/sdcard/victamjpeg.sdp</code> and owned by root. </p>