Create multiple shortcuts for Android apps

Sometimes, if we want our application to create multiple shortcuts on the desktop, we can use manifest The corresponding activity is declared in the XML file.

The code is as above. This is seen from the pulltorefresh demo, because after the installation of our general application, only one shortcut will be generated, but the application has generated four and checked the manifest XML to find this thing, record ①, may be useful.

Hope to help develop Android applications, friends who need this function.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>