diff --git a/docs/html/samples/new/index.jd b/docs/html/samples/new/index.jd index a7ffa8c45fe81..4d6262edb501d 100644 --- a/docs/html/samples/new/index.jd +++ b/docs/html/samples/new/index.jd @@ -5,7 +5,7 @@ page.image=images/cards/samples-new_2x.png

The following code samples were recently published. You can download them in the Android SDK Manager under the Samples for SDK -component for Android 6.0 (API 23).

+component for Android 7.1 (API 25).

Note: The downloadable projects are designed @@ -14,115 +14,67 @@ component for Android 6.0 (API 23).

-

- Active - Notification -

-

- This sample demonstrates how to use the {@link - android.app.NotificationManager} to tell you how many notifications your app - is currently showing. -

+

App shortcuts sample

-

- Auto Backup for - Apps -

- -

- Android 6.0 (API level 23) introduces automatic backup for app settings. This - sample demonstrates how to add filtering rules to an app to manage settings - backup. -

- -

- Camera 2 Raw -

- -

- This sample demonstrates how to use the - - Camera2 API to capture RAW camera buffers and save them as - DNG files. -

- -

- Confirm - Credential -

- -

- This sample demonstrates how to use device credentials as an authentication method in your app. -

- -

- Device Owner -

- -

- This sample demonstrates how to use the device owner features to manage and - configure a device. -

- -

- Direct Share -

- -

- This sample demonstrates how to provide the - Direct - Share feature. The app shows some options directly in the list of share - intent candidates. -

- -

- Fingerprint - Dialog -

- -

- This sample demonstrates how to recognize registered fingerprints to - authenticate your app's user. -

- -

- MidiScope -

+

This sample demonstrates how to use the MIDI API to - receive and process MIDI signals coming from an attached input device. + "/preview/app-shortcuts.html">app shortcuts API introduced in Android 7.1 + (API level 25). This API allows an application to define a set of intents + which are displayed when a user long-presses on the app's launcher icon. + Examples are given for registering links both statically in XML, as well as + dynamically at runtime.

-

- MidiSynth -

-

- This sample demonstrates how to use the MIDI API to - receive and play MIDI messages coming from an attached input device. + App shortcuts sample

-

- NFC Provisioning -

+

Image keyboard app sample

+ +

- This sample demonstrates how to use NFC to provision other devices with a - specific device owner. + This sample demonstrates how to implement the + Commit Content API, using the Android Support Library. + This API provides a universal way for IMEs to send images and other rich + content directly to a text editor in an app, allowing users to compose + content using custom emojis, stickers, or other rich content provided by + other applications.

-

- RuntimePermissions -

-

- This sample shows runtime permissions available in Android 6.0 (API level 23) - and higher. Display the log on screen to follow the execution. If executed on - an Android 6.0 device, the app displays an additional option to access - contacts using an 6.0-only optional permission. + Image keyboard app sample +

+ +

Image keyboard IME sample

+ + + +

+ This sample demonstrates how to write a custom image keyboard using the + Commit Content API and the Android Support Library. + This keyboard will be displayed inside compatible apps (also using the Commit + Content API), allowing users to insert emojis, stickers, or other rich + content into text editors. +

+ +

+ Image keyboard IME sample