I know how to add or remove my android application shortcut to home screen programmatically? But I do not know how to remove the shortcut on application uninstallation time.
You know when you create a shortcut programmatically, after user uninstalls the application your shortcut remains in the home screen and does not open any application.
How can I know if my app is uninstalling and remove the shortcut on that time?
Or I want to know if there is a way that the application calls my shortcut remove method when it is uninstallig?
thanks,