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.

  1. is there working way use uninstall_shortcut in ics?

  2. 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?

  3. 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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -