title: Java Uri.fromFile path issue
body: <p>Ok I've finally got the problem down to this method.</p>
  
  <p>I have a File object called file, when I do a toString() it outputs the following</p>
  
  <pre><code>/storage/emulated/0/Pictures/ecohelp/IMG_ecohelp_20131016_214242.jpg
  </code></pre>
  
  <p>Now after the the File object is inserted into the following method</p>
  
  <pre><code>Uri uriFile = Uri.fromFile(file);
  </code></pre>
  
  <p>When I do a uriFile.toString() it outputs the following</p>
  
  <pre><code>file:///storage/emulated/0/Pictures/ecohelp/IMG_ecohelp_20131016_214242.jpg
  </code></pre>
  
  <p>Now I tried removing the / at the start of "/storage..." but it still doesn't work, anyone know why this happens? It should be file:// as like anything else but it puts on three of them.</p>
  
  <p>I was trying to mimic this for images: <a href="http://developer.android.com/guide/topics/media/camera.html#saving-media" rel="nofollow">http://developer.android.com/guide/topics/media/camera.html#saving-media</a></p>
  
  <p>I get this error when trying to save a file:</p>
  
  <pre><code>10-16 22:16:39.945: E/AndroidRuntime(32080): java.lang.RuntimeException: 
  Failure delivering result ResultInfo{who=android:fragment:2, request=100, 
  result=-1, data=null} to activity 
  {com.example.ecohelp/com.example.ecohelp.MainActivity}: java.lang.NullPointerException
  </code></pre>