title: How to get the Uri of a image stored on the SDCARD?
body: <p>I need to get the URI of a image stored on the SDCARD.</p>
  
  <p>When i want to get the Uri of a image stored on drawable, i use this and it works perfect:</p>
  
  <pre><code>i.putExtra(Intent.EXTRA_STREAM, Uri.parse("android.resource://" + getPackageName() + "/" + R.drawable.image));
  </code></pre>
  
  <p>But if i want to get the URI of a image stored on the SDCARD, i tryed with this, and it doesn't works, something is wrong:</p>
  
  <pre><code>i.putExtra(Intent.EXTRA_STREAM, Uri.parse("/mnt/sdcard/car.jpg"));
  </code></pre>
  
  <p>Please, can someone tell me how to get the correct uri of a image stored on the sdcard?</p>
  
  <p>Thanks</p>