How can I make an android application remove it's desktop shortcut when the user deletes the application? How can I make an android application that does this automatically? i use this code to add shortcut to the desktop : Intent shortcutIntent = new Intent(Intent.ACTION_MAIN); shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); final Intent intent = new Intent(); intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent) intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, "myShortcut"); intent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); so how can i delete this shortcut when user delete main application thanks for reply roid
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en