I want to group multiple apps under the same icon in the application launcher. For example, 5 apps each displaying 1 different image. But those 5 apps should appear as separate apps on the Android market, therefore they need to have different package name.
But different package name, means that on the Android device they will appear as 5 separate apps in the application launcher, which I am trying to avoid.
The closest solution that I found is to listen for PACKAGE_ADDED
broadcast event, and every time another app from those 5 are installed on the device, all the already installed apps would call setApplicationEnabledSetting
from PackageManager
to hide their icons and let the app that was just installed to handle things.
But the icons are hidden only after rebooting the device.
Is there a way to force the application launcher to refresh at runtime? Or is there any other way to solve my goal? I am running out of options. Thanks!