Ok so I found this: Intent intent = new Intent(android.content.Intent.ACTION_VIEW); intent.setDataAndType(uri, "image/jpg"); startActivity(intent);
works great on the G1, the image viewing intent is just what I need - just simple pan and zoom. On the nexus one, it looks like some sort of native image gallery launches instead - it takes like 10 seconds for the image to finally display. Is there any way to modify the intent to ask for a "simple" image viewing "mode"? I'm just interested in a simple image viewing experience. Thanks On Feb 26, 10:19 am, Mark Murphy <[email protected]> wrote: > Mark Wyszomierski wrote: > > Is there a built-in intent which will let you pass it the path of an > > image (png or jpg) and show it full-screen with panning / zooming > > controls? Basically the same controls WebView has, but only for a > > single image. I saw that iPhone has something like this, just > > wondering if there's already something like this on android before > > writing a new one, > > The Gallery has an activity for that. However, that probably only works > for images in the MediaStore, and I don't think it is documented. The > former may be a show-stopper for you; the latter is a show-stopper for > everyone. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Training:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

