allwinner_a64/android/development/samples/browseable/AppShortcuts/_index.jd
2018-08-08 18:09:17 +08:00

13 lines
471 B
Text

page.tags="AppShortcuts"
sample.group=System
@jd:body
<p>
This sample demonstrates how to use the Launcher Shortcuts API introduced in API 25.
This API allows an application to define a set of Intents which are displayed as
when a user long-presses on the app's launcher icon. Examples are given for
registering both links both statically in XML, as well as dynamically at runtime.
</p>