title: Opening Image File gives error in Android
body: <p>I am trying to open a jpg image file in gallery. This gives a error. I am using the code below</p>
  
  <pre><code>Intent intent = new Intent();
  intent.setAction(Intent.ACTION_VIEW);
  intent.setDataAndType(Uri.parse("/mnt/sdcard/image123.jpg"),"image/jpeg");
  startActivityForResult(intent, 900);
  </code></pre>
  
  <p>This gives a option to open file in gallery. I select Gallery from the list. But it does not open up. I use ASTRO file manager and open the same image file. It opens up fine now. Please let me know if something is wrong.</p>