Reputation: 19378
I need to create desktop shortcut for content managed by my app. I've found the way to do it using ACTION_CREATE_SHORTCUT But I need the way to implement it without using "Create shortcut" menu. It would be great if user could select "create shourtcut" from item's context menu inside my activity and it will be automatically placed on desktop.
Thanks
Aleksander
Upvotes: 1
Views: 1079
Reputation: 19378
Found a solution. Just pass intent which you normally use to return when implementing activity with ACTION_CREATE_SHORTCUT to Activity.sendBroadcast().
Upvotes: 5