Removing shortcut in Android uses an Intent (UNINSTALL_SHORTCUT) to
perform the task.
So first add this permission to your manifest:
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
and in java code
private void removeShortcut() {
//Deleting shortcut for MainActivity
//on Home screen
Intent shortcutIntent = new Intent(getApplicationContext(),MainActivity.class);
shortcutIntent.setAction(Intent.ACTION_MAIN);
Intent addIntent = new Intent();
addIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
addIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, "HelloWorldShortcut");
addIntent.setAction("com.android.launcher.action.UNINSTALL_SHORTCUT");
getApplicationContext().sendBroadcast(addIntent);
}
So now you can call it on ur first launch (may be when ur splash screen is loading, if you have any). Now its upto you how you utilize this :)
For more info.. http://viralpatel.net/blogs/android-install-uninstall-shortcut-example/
https://gist.github.com/zeuxisoo/1008973