Jeff wrote:
> 1. Should I load it with my WebView? I thought I could use img tags
> with urls like file:///android_asset/myimage.png. But this does not
> seem to work.

As I wrote in my previous reply:

Try creating a ContentProvider to serve the image, and see if you have
better luck with a content:// URL.

> 2. Can I start a new Activity with an Intent that shows the image in
> the default image viewer?

Not if your image is only in an asset. The image viewer won't have
rights to access it.

> 3. I can write my own Activity to load the image from my assets
> directory. Does ImageView support zooming and scrolling?

Not directly, but you can use the 2D graphics API (e.g., Canvas and
friends). Basically, you're looking to use the same techniques games do
to view a portion of a large map, for example.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Online Training: 21-25 June 2010: http://onlc.com

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