Hello,
Is there a way of removing an activity from the home launcher by itself at runtime? I mean removing Intent.CATEGORY_LAUNCHER from it's properties or something similar.
Hello,
Is there a way of removing an activity from the home launcher by itself at runtime? I mean removing Intent.CATEGORY_LAUNCHER from it's properties or something similar.
You can disable a component via PackageManager#setComponentEnabledSetting(), which will have the effect of removing it from the Launcher.
Tried it, the icon is still in the Launcher but when I click on it, it shows a toast "Application is not installed on your phone" :(