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.
This sample demonstrates how to take advantage of multiple window user interfaces with your app.
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 7.0 (API level 24).
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.