72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
page.title=Samples
|
|
page.tags="preview", "samples", "android"
|
|
page.image=images/cards/card-n-samples_2x.png
|
|
@jd:body
|
|
|
|
<p>
|
|
The following code samples are provided for Android N. To
|
|
download the samples in Android Studio, select the <b>File > Import
|
|
Samples</b> menu option.
|
|
</p>
|
|
|
|
<p class="note">
|
|
<strong>Note:</strong> These downloadable projects are designed
|
|
for use with Gradle and Android Studio.
|
|
</p>
|
|
|
|
|
|
<h3 id="mw">Multi-Window Playground</h3>
|
|
<p>
|
|
This sample demonstrates how to take advantage of multiple window
|
|
user interfaces with your app.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/googlesamples/android-MultiWindowPlayground">
|
|
Get it on GitHub</a>
|
|
</p>
|
|
|
|
|
|
<h3 id="notifications">Notifications</h3>
|
|
<p>
|
|
This sample is updated to demonstrates how to take advantage of new
|
|
notifications features available in Android N.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/googlesamples/android-Notifications">
|
|
Get it on GitHub</a>
|
|
</p>
|
|
|
|
|
|
<h3 id="jobsched">JobScheduler</h3>
|
|
<p>
|
|
This sample demonstrates how to use the JobScheduler API to schedule
|
|
background tasks when certain conditions apply, such as network or charging
|
|
state.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/googlesamples/android-JobScheduler">
|
|
Get it on GitHub</a>
|
|
</p>
|
|
|
|
|
|
<h3 id="fbe">Direct Boot</h3>
|
|
<p>
|
|
This sample demonstrates how to store and access data in a device encrypted
|
|
storage which is always available while the device is booted.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/googlesamples/android-DirectBoot">
|
|
Get it on GitHub</a>
|
|
</p>
|
|
|
|
|
|
<h3 id="sda">Scoped Directory Access</h3>
|
|
<p>
|
|
This sample demonstrates how to read and write data from specific
|
|
directories, while requiring fewer permissions.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/googlesamples/android-ScopedDirectoryAccess">
|
|
Get it on GitHub</a>
|
|
</p>
|