Intent i = new Intent(Intent.ACTION_VIEW);
Uri u = Uri.withAppendedPath
(MediaStore.Images.Media.INTERNAL_CONTENT_URI, "");
i.setData(u);
startActivity(i);
On Feb 9, 12:09 pm, Freddy <[email protected]> wrote:
> I don't want to re-invent the wheel and would like to use the existing
> android picture viewer. I've found some intents to launch built-in
> android app such as the dialer
>
> Intent intent = new Intent(Intent.ACTION_MAIN);
> intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> intent.setClassName(this,
> "com.android.phone.Dialer");
> startActivity(intent);
>
> but have not found one for launching the picture viewer. How do I
> launch the android built-in picture viewer app?
>
> 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
-~----------~----~----~----~------~----~------~--~---