android - Remove shortcut pointing to my app from stock launcher in ics -
i need remove 1 particular (better) or shortcuts (worst case) pointing app stock launcher. unable use uninstall_shortcut broadcast, seems dont work (simillar problem this.
my app signed system certificate (it installed in /system/app) have ideas, how remove shortcuts.
is there working way use uninstall_shortcut in ics?
i have seen stock launcher removes links pointing app when uninstall it. there way simulate uninstalling (or send package_removed broadcast, having system privileges)? maybe write part of package manager?
if 2 not possible there way can cause package manager send package_removed broadcast, reinstallation/upgrading app? (i can install/upgrade apps silently, because have system privileges install_packages permission).
i believe have way start app besides shortcut.
to not show on app drawer, remove
<intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> from manifest of activity , won't show shortcut
update: separate shortcuts in different app/apk , install shortcut "app" when need shortcut , uninstall when not needed.
Comments
Post a Comment