/>
X

Android N code samples: First peek at downloadable projects

Gallery Tour: These downloadable projects are designed for use with Gradle and Android Studio.
By ZDNET Editors, Contributor
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

Holiday wallpaper for your phone: Christmas, Hanukkah, New Year's, and winter scenes
Holiday lights in Central Park background

Related Galleries

Holiday wallpaper for your phone: Christmas, Hanukkah, New Year's, and winter scenes

21 Photos
Winter backgrounds for your next virtual meeting
Wooden lodge in pine forest with heavy snow reflection on Lake O'hara at Yoho national park

Related Galleries

Winter backgrounds for your next virtual meeting

21 Photos
Holiday backgrounds for Zoom: Christmas cheer, New Year's Eve, Hanukkah and winter scenes
3D Rendering Christmas interior

Related Galleries

Holiday backgrounds for Zoom: Christmas cheer, New Year's Eve, Hanukkah and winter scenes

21 Photos
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