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

Reply via email to