I need to install a launcher icon on Home screen for my Android app.
I know I can do this by sending a com.android.launcher.action.INSTALL_SHORTCUT
broadcast:
Add Shortcut for android application To home screen On button click
The problem is: on some Android phones, the launcher icon is automatically added on Home Screen when the app is installed, how can I detect this and avoid installing duplicate launcher icons?