How do I create a shortcut for any app on desktop?

前端 未结 1 1434
滥情空心
滥情空心 2021-02-02 01:34

I think I\'ve tried all the solutions I found on the internet, but no one worked - no force close, but nothing appears on desktop.

Now, I have this:

pri         


        
相关标签:
1条回答
  • 2021-02-02 02:08

    Solved. Just change at manifest:

    this:

    <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
    

    to this:

    <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
    

    Just an 'uses' ¬¬

    0 讨论(0)
提交回复
热议问题