The api has a nice way to get a list of all installed applications:
Code:
PackageManager appInfo = context.getPackageManager();
        List<ApplicationInfo> list = appInfo.getInstalledApplications
(0);

The problem is that the Gallery is not in this list. So what is the
correct way to launch the gallery?

I have tried running this intent:
Code:
Intent intent = new Intent("android.intent.action.GET_CONTENT");
            intent.setType("image/*");

It doesn't start up the same Gallery as pressing your normal Gallery
icon. Instead it starts up a list of all images and then when you pick
one it just returns back to the program.

What I'm looking to do is start up the regular gallery app just like
if someone pressed the Gallery icon on their home screen. Any ideas
how to do that?

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

Reply via email to