Android 12 Developer Preview is here! Try it out, and give us your feedback!

Android 7.0 Samples

Use the code samples below to learn about Android 7.0 capabilities and APIs. To download the samples in Android Studio, select the File > New > Import Samples menu option.

Note: These downloadable projects are designed for use with Gradle and Android Studio.

Multi-Window Playground

Screen showing the Multi-Window Playground sample project

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

Get it on GitHub

Direct Boot

Screen showing the Direct Boot sample project

This sample demonstrates how to store and access data in a device encrypted storage which is always available while the device is booted.

Get it on GitHub