How to get a list of installed android applications and pick one to run

Posted by Jon on Stack Overflow See other posts from Stack Overflow or by Jon
Published on 2010-04-23T02:07:57Z Indexed on 2010/04/23 6:23 UTC
Read the original article Hit count: 308

Filed under:
|
|

I asked a similar question to this earlier this week but I'm still not understanding how to get a list of all installed applications and then pick one to run.

I've tried:

Intent intent = new Intent(ACTION_MAIN);
intent.addCategory(CATEGORY_LAUNCHER);

and this only shows application that are preinstalled or can run the ACTION_MAIN Intent type.

I also know I can use PackageManager to get all the installed applications, but how do I use this to run a specific application?

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk