How to get available “app shortcuts” of a specific app?

前端 未结 2 366
生来不讨喜
生来不讨喜 2021-02-04 09:33

Background

Starting from API 25 of Android, apps can offer extra shortcuts in the launcher, by long clicking on them:

The problem

Thing is,

2条回答
  •  囚心锁ツ
    2021-02-04 10:15

    Great Question this was what i was looking for and I get one that might be useful

    (Its all about Intent)

    https://github.com/googlesamples/android-AppShortcuts

    Note: If your app is static its simple to implement.

    Updated:::

    Here is a link that will show you the difference of dynamic or static shortcuts and its implementation if you like it please up vote.

    https://www.novoda.com/blog/exploring-android-nougat-7-1-app-shortcuts/

提交回复
热议问题