title: Android: showing image in build-in gallery
body: <p>I'm trying to open a picture in the build-in gallery, but it dosen't show up. I logged the URI to be </p>
  
  <p>06-08 15:53:02.232: D/URI(3231): file:///mnt/sdcard/com.jesper.indkoeb/nm-image.jpg</p>
  
  <p>which is the right place</p>
  
  <pre><code>                @Override
                  public void onClick(View v) {
                      Intent intent = new Intent();  
                      intent.setAction(android.content.Intent.ACTION_VIEW);  
                      File file = new File(uri.get(position));
                      Log.d("URI",uri.get(position));
                      intent.setDataAndType(Uri.fromFile(file), "image/*");  
                      context.startActivity(intent);
  
                  }
  
              });
  </code></pre>