i'm making a launcher app and i would like to know how to selectively display apps on my launcher based on user input. Like other launchers will show all the apps normally, but in my launcher the user can, if they want, choose not to show some apps.
So how would i call PackageManager
to show/not show a few select apps?
My current way is-
- Query all apps from
PackageManager
and keep it in a<ResolveInfo>
list - Keep the apps not to show in another
<ResolveInfo>
list - Subtract the lists and pass the new list to populate my launcher
I need help in step 3