I want to create a list of applications visible on the main screen in Android.
I am currently using the following code:
List<ApplicationInfo> packs = pm.getInstalledApplications(0);
But this returns all installed applications, but this requires only applications with icons on the main screen.
How can I do that?
Any help was appreciated.
source share