title: How to get bitmap from a url in android?
body: <p>I have a uri like which has an image</p>
  
  <pre><code>file:///mnt/...............
  </code></pre>
  
  <p>How to use this uri to get the image but it returns null, please tell me where i am wrong.</p>
  
  <pre><code>Bitmap bitmap = BitmapFactory.decodeFile(uri.getPath());
  Bitmap bitmap = BitmapFactory.decodeFile(uri.toString());
  </code></pre>