is there a way to programmatically create (after installation) a new shortcut in the All apps screen (menu, list of all installed applications).
I know that I can define shortcuts in AndroidManifest.xml, but that is not what I want. I want that users of my app were able to create them in my app settings.
I’ve found out that this is possible for Home screen (launcher shortcut), how to do it for All apps screen? Is it even possible?
The code you just defined includes both of these.
Programatically
If you had read the Intent documentation you’d find this:
Intent.ACTION_CREATE_SHORTCUT
Just send an intent with this information and you’re good to go.
Manifest
Also ifyou want your application to show up in the ALl Apps screen, then in your manifest you’d define one of your activities to be set into the launcher category.
However; after installation it is NOT possible to add a shortcut to the All Apps Screen. As there is no API to allow this at all. You CAN create a shortcut on the Launcher desktop, but that is as far as the SDK can take you.