Hello,

I have an app with thumbnails and when the user touch the thumb, I would 
like to open the full image in fullscreen. I try opening the image in the 
default Gallery app, but it doesn't work on all devices.

Here's the snippet :


   Intent intent = new Intent(Intent.ACTION_VIEW, 
Uri.parse(url_of_the_remote_image_here));

intent.setType("image/jpg");

   startActivity(intent);

On Nexus S running 4.1, I get : 

android.content.ActivityNotFoundException: No Activity found to handle 
Intent { act=android.intent.action.VIEW typ=image/jpg }

Any idea ?


Thanks


-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to