Alex Rivera | Logout

Get a list of every launcher in Android

Asked 2011-05-30T11:42:03.720
9

In my application I want to show a list of every available launcher (for homescreen) on that specific Android phone. Is it possible to get some kind of information from Android OS and how do I make this call?

Thanks!

Kind regards Daniel

Edit
Report

1 Answer

0

Try the following:

  1. Obtain the list of installed applications:

    List pkgList = getPackageManager().getInstalledPackages(PackageManager.GET_ACTIVITIES);

  2. Iterate over this list and obtain launcher activity using:

    getPackageManager().getLaunchIntentForPackage(packageName);

For details read here: PackageManager. Hope this helps.

answered 2011-05-30T13:03:19.183

Your Answer