Install launcher icon in home screen once

后端 未结 3 717
情书的邮戳
情书的邮戳 2021-02-05 22:33

When a user installs an Android app, a launcher icon is created in the apps menu. Many users I talk to expect that when they install an app, an icon should appear automatically

3条回答
  •  余生分开走
    2021-02-05 22:35

    In the example, it returns the intent in setResult(...). I believe you need to run sendBroadcast(intent) to trigger installation of the shortcut.

提交回复
热议问题