diff --git a/docs/html/preview/samples.jd b/docs/html/preview/samples.jd index 1cc9162e38d49..7f0e9343ef852 100644 --- a/docs/html/preview/samples.jd +++ b/docs/html/preview/samples.jd @@ -1,12 +1,12 @@ page.title=Samples -meta.tags="samples", "preview" -page.tags="preview", "developer preview" -page.image=images/cards/card-n-samples_2x.png +page.tags="preview", "samples", "android" +page.image=images/cards/samples-new_2x.png @jd:body

- The following code samples are provided for the M Developer Preview. To download - the samples in Android Studio, select the File > Import Samples menu option. + The following code samples are provided for the N Developer Preview. To + download the samples in Android Studio, select the File > Import + Samples menu option.

@@ -15,58 +15,68 @@ page.image=images/cards/card-n-samples_2x.png

-

Runtime Permissions

- +

Multi-Window Playground

- Android M changes the way system permissions work. Users are asked to approve permission - requests at runtime instead of during installation. This sample shows how to request these - permissions. + This sample demonstrates how to take advantage of multiple window + user interfaces with your app. +

+

+ + Get it on GitHub

-

Get it on GitHub

- -

Confirm Credential

+

Notifications

- This sample demonstrates how to use device credentials as an authentication method in your app. + This sample is updated to demonstrates how to take advantage of new + notifications features available in the N Developer Preview. +

+

+ + Get it on GitHub

-

Get it on -GitHub

- -

Fingerprint Dialog

+

JobScheduler

- This sample demonstrates how to recognize registered fingerprints to authenticate the user - in your app. + This sample demonstrates how to use the JobScheduler API to schedule + background tasks when certain conditions apply, such as network or charging + state. +

+

+ + Get it on GitHub

-

Get it on GitHub

- -

Auto Backup for Apps

+

File Based Encryption

- Android M introduces automatic backup for app settings. This sample demonstrates how to add - filtering rules to an app in order to manage settings backup. + This sample demonstrates how to store and access data in a device encrypted + storage which is always available while the device is booted. +

+

+ + Get it on GitHub

-

Get it on GitHub

- -

Camera 2 Raw

+

Scoped Directory Access

- Demonstrates how to use the Camera2 API to capture RAW camera buffers and save - them as DNG files. + This sample demonstrates how to read and write data from specific + directories, while requiring fewer permissions. +

+

+ + Get it on GitHub

-

Get it on GitHub

- -

Active Notification

+

Drag and Drop

- This sample demonstrates how the - NotificationManager - can tell you how many notifications your app is currently showing. + This sample demonstrates how to use drag and drop user interface feature + between windows, when using a multi-window view.

- -

Get it on GitHub

+

+ + Get it on GitHub +

\ No newline at end of file