Android N code samples: First peek at downloadable projects
Multi-Window Playground
This sample demonstrates how to take advantage of multiple window user interfaces with your app.
Active Notifications
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.
Messaging Service
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.
Direct Boot
This sample demonstrates how to store and access data in a device encrypted storage which is always available while the device is booted.
Scoped Directory Access
This sample demonstrates how to read and write data from specific directories, while requiring fewer permissions.