From 67c56710cb6ac5e8191492562f0f268a9084666f Mon Sep 17 00:00:00 2001 From: Trevor Johns Date: Tue, 8 Mar 2016 19:17:08 -0800 Subject: [PATCH] Changes to N Preview samples page. - Removed JobScheduler, for now. Since the major update is coming as a followup update, let's save announcing this until its ready, for PR purposes. - Swapped "Notifications" sample for "Active Notifications" and "Messaging Service", to reflect actual sample list. Bug: 27556402 Change-Id: I0b62854bf5e0fc5180c2048861b20631e41c1718 --- docs/html/preview/samples.jd | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/docs/html/preview/samples.jd b/docs/html/preview/samples.jd index ad43dc07fc801..de21b515b3eda 100644 --- a/docs/html/preview/samples.jd +++ b/docs/html/preview/samples.jd @@ -26,25 +26,34 @@ page.image=images/cards/card-n-samples_2x.png

-

Notifications

+

Active Notifications

- This sample is updated to demonstrates how to take advantage of new - notifications features available in Android N. + This is a pre-existing sample which shows a simple service that sends + notifications using NotificationCompat. Each unread conversation from a user + is sent as a distinct notification.

- + This sample has been updated to take advantage of new notification features + available in Android N. +

+

+ Get it on GitHub

-

JobScheduler

+

Messaging Service

- This sample demonstrates how to use the JobScheduler API to schedule - background tasks when certain conditions apply, such as network or charging - state. + This is a pre-existing sample which demonstrates how to use + NotificationManager to tell how many notifications an application is currently + showing.

- + This sample has been updated to take advantage of new notification features + available in Android N. +

+

+ Get it on GitHub