Files
android_development/samples/browseable/AppShortcuts/_index.jd
Trevor Johns 0af1e772c4 docs: Add new samples for N MR1
- AppShortcuts
- CommitContentSampleApp
- CommitContentSampleIME

Change-Id: I3cefc134839f944b1c0c5efc943fb779c7e7ee70
2016-10-18 03:19:42 -07:00

14 lines
471 B
Plaintext

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>