/>
X

Android N code samples: First peek at downloadable projects

Gallery Tour: These downloadable projects are designed for use with Gradle and Android Studio.
zd-linkedin-logo
By ZDNET Editors, Contributor on
multiwindow.jpg
1 of 5 David Grober

Multi-Window Playground

This sample demonstrates how to take advantage of multiple window user interfaces with your app.

2active-notifications.jpg
2 of 5 David Grober

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.

3messagingservice.jpg
3 of 5 David Grober

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.

directboot.jpg
4 of 5 David Grober

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-access.jpg
5 of 5 David Grober

Scoped Directory Access

This sample demonstrates how to read and write data from specific directories, while requiring fewer permissions.

Related Galleries

Hyundai Ioniq 5 and Kia EV6: Electric vehicle extravaganza
img-8825

Related Galleries

Hyundai Ioniq 5 and Kia EV6: Electric vehicle extravaganza

26 Photos
A weekend with Google's Chrome OS Flex
img-9792-2

Related Galleries

A weekend with Google's Chrome OS Flex

22 Photos
Cybersecurity flaws, customer experiences, smartphone losses, and more: ZDNet's research roundup
shutterstock-1024665187.jpg

Related Galleries

Cybersecurity flaws, customer experiences, smartphone losses, and more: ZDNet's research roundup

8 Photos
Inside a fake $20 '16TB external M.2 SSD'
Full of promises!

Related Galleries

Inside a fake $20 '16TB external M.2 SSD'

8 Photos
Hybrid working, touchscreen MacBook hopes, cybersecurity concerns, and more: ZDNet's tech research roundup
Asian woman working at a desk in front of a computer and calculator

Related Galleries

Hybrid working, touchscreen MacBook hopes, cybersecurity concerns, and more: ZDNet's tech research roundup

8 Photos
Developer trends, zero-day risks, 5G speeds, and more: Tech research roundup
Person seated at a booth in a cafe looks at their phone and laptop.

Related Galleries

Developer trends, zero-day risks, 5G speeds, and more: Tech research roundup

10 Photos
Drive Electric Day: A dizzying array of EVs in sunny Florida
ca3b4019-26c5-4ce0-a844-5aac39e2c34b.jpg

Related Galleries

Drive Electric Day: A dizzying array of EVs in sunny Florida

16 Photos