Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67c56710 authored by Trevor Johns's avatar Trevor Johns
Browse files

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
parent e21c8141
Loading
Loading
Loading
Loading
+18 −9
Original line number Diff line number Diff line
@@ -26,25 +26,34 @@ page.image=images/cards/card-n-samples_2x.png
</p>


<h3 id="notifications">Notifications</h3>
<h3 id="an">Active Notifications</h3>
<p>
  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.
</p>
<p>
  <a href="https://github.com/googlesamples/android-Notifications">
  This sample has been updated to take advantage of new notification features
  available in Android N.
</p>
<p>
  <a href="https://github.com/googlesamples/android-ActiveNotifications">
  Get it on GitHub</a>
</p>


<h3 id="jobsched">JobScheduler</h3>
<h3 id="ms">Messaging Service</h3>
<p>
  This is a pre-existing sample which demonstrates how to use
  NotificationManager to tell how many notifications an application is currently
  showing.
</p>
<p>
  This sample demonstrates how to use the JobScheduler API to schedule
  background tasks when certain conditions apply, such as network or charging
  state.
  This sample has been updated to take advantage of new notification features
  available in Android N.
</p>
<p>
  <a href="https://github.com/googlesamples/android-JobScheduler">
  <a href="https://github.com/googlesamples/android-MessagingService">
  Get it on GitHub</a>
</p>