Ok so I tried it on an API level 6 emulator, I get the basic simple (desired) intent. So is it just that the nexus one has done this on their own? It's definitely a nice device, but this implementation of this intent is kind of rough!
If I wanted to cobble together my own 'basic' image viewing intent, it doesn't appear that it would be too simple. There are issues like handling very large images (I wonder if the native intent supplied with the device rescales for you), as well as the fun of panning and zooming. I'd almost be tempted to just throw the image in a WebView, but there's no way to center the image, Thanks On Feb 26, 3:49 pm, Mark Murphy <[email protected]> wrote: > Mark Wyszomierski wrote: > > 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. > > Oh, cool, a generic Intent! > > > 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. > > It's the same activity, I suspect -- the Gallery image viewer. The > Gallery application got bigger in Android 2.1, or at least on the N1. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

