I would recommend implementing a custom view class which extends
ImageView and overrides the onTouch event.
Take a look at Luke Hutch's MultiTouchController
http://lukehutch.wordpress.com/2010/01/06/my-multi-touch-code-ported-to-eclair/
and samples.

This will be
a) Quicker to load
b) Use less memory
c) Give you multi-touch pinch-zoom

On Jul 15, 9:35 pm, Mark Wyszomierski <[email protected]> wrote:
> Hi,
>
> I'm trying to use animage-display intent to..display animage:
>
>     Uri uri = ...;
>     Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
>     intent.setDataAndType(uri, "image/" + extension);
>     startActivity(intent);
>
> this works well, but some devices haveimageviewers that handle this
> intent which are sub-optimal. For example, on the Nexus One, it looks
> like animagegallery application starts up - this takes about 10+
> seconds before showing theimage. On the Droid, animageapplication
> starts up very quickly and shows theimageright away.
>
> If we shouldn't rely on the above intent to provide a good experience
> for the user, is there another method anyone is using? Would just like
> to know before I try writing something myself,
>
> Thanks

-- 
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