Reputation: 1329
After downloading app from play store, its not creating shortcut icon on home screen(it creates icon in app drawer). While this thing working fine on most of devices. But for some devices. App is not creating shortcuts.
I have checked:
a) Play store settings and Auto-Add widgets is marked.
b) Launcher settings automatically add shortcut to screen is market.
Is there anything at programmer end? Can we write some code which will result in shortcut when app downloaded from play store?
Upvotes: 2
Views: 47591
Reputation: 1222
For newer versions of Android (at least for Android 11) this option has been moved.
Home Settings
Add app icons to the home screen | For new apps
Upvotes: 0
Reputation: 2308
There is nothing wrong with programmer ensure you have checked Add icon Home screen check box, In some cases programmer may have written this code
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, "AppName");
addIntent.setAction("com.android.launcher.action.UNINSTALL_SHORTCUT");
getApplicationContext().sendBroadcast(addIntent);
To remove short-cut which is going to be created by play store even after "Add icon to Home screen" checked. So this Solution can help you out.
Upvotes: 3
Reputation: 424
I don't think this is a bug coming from the application, it's more of a bug may be device bug probably. I'd check the caches on your device, ROM settings, etc.
Upvotes: 2
Reputation: 1
Try this:
Go the home screen, hit apps then options (three dots at top right).
It had 'DOWNLOADED APPS' go into that then hold desired icon to create shortcut onto ur main screens.
Hope it works.
Upvotes: -4