开发者

Install an application shortcut programmatically

I am looking for开发者_运维技巧 a way to install a shortcut to my home Activity from inside my application. I only want to install the shortcut if it isn't there already. What is the best way to do this? Can I choose which screen the shortcut gets placed on?


From my research, you can place a shortcut to your Activity on the Homescreen, but you can't control which screen it shows up on.

Here is a reference for you, it should help you with sending the activity to the homescreen, but you likely won't be able to tell if one is already added, and you can't tell it which screen to place it on.

How to place a shortcut.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜