Search
  • Videos
  • 5G
  • Windows 10
  • Cloud
  • Innovation
  • Security
  • Tech Pro
  • more
    • Apple
    • ZDNet Academy
    • Microsoft
    • Mobility
    • Hardware
    • Executive Guides
    • Best VPN Services
    • See All Topics
    • White Papers
    • Downloads
    • Reviews
    • Galleries
    • Videos
    • TechRepublic Forums
  • Newsletters
  • All Writers
    • Log In to ZDNET
    • Join ZDNet
    • About ZDNet
    • Preferences
    • Community
    • Newsletters
    • Log Out
  • Menu
    • Videos
    • 5G
    • Windows 10
    • Cloud
    • Innovation
    • Security
    • Tech Pro
    • Apple
    • ZDNet Academy
    • Microsoft
    • Mobility
    • Hardware
    • Executive Guides
    • Best VPN Services
    • See All Topics
    • White Papers
    • Downloads
    • Reviews
    • Galleries
    • Videos
    • TechRepublic Forums
      • Log In to ZDNET
      • Join ZDNet
      • About ZDNet
      • Preferences
      • Community
      • Newsletters
      • Log Out
  • us
    • Asia
    • Australia
    • Europe
    • India
    • United Kingdom
    • United States
    • ZDNet around the globe:
    • ZDNet China
    • ZDNet France
    • ZDNet Germany
    • ZDNet Korea
    • ZDNet Japan

Android N code samples: First peek at downloadable projects

1 of 5 NEXT PREV
  • Multi-Window Playground

    Multi-Window Playground

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

    Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

    Photo by: David Grober

    Caption by: ZDNet Editors

  • Active Notifications

    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.

    Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

    Photo by: David Grober

    Caption by: ZDNet Editors

  • Messaging Service

    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.

    Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

    Photo by: David Grober

    Caption by: ZDNet Editors

  • Direct Boot

    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.

    Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

    Photo by: David Grober

    Caption by: ZDNet Editors

  • Scoped Directory Access

    Scoped Directory Access

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

    Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

    Photo by: David Grober

    Caption by: ZDNet Editors

1 of 5 NEXT PREV
  • Multi-Window Playground
  • Active Notifications
  • Messaging Service
  • Direct Boot
  • Scoped Directory Access

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

Read More Read Less

Multi-Window Playground

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

Published: March 9, 2016 -- 18:41 GMT (10:41 PST)

Caption by: ZDNet Editors

1 of 5 NEXT PREV

Related Topics:

Google Mobile OS Cloud Mobility Enterprise Software Artificial Intelligence
LOG IN TO COMMENT
  • My Profile
  • Log Out
| Community Guidelines

Join Discussion

Add Your Comment
Add Your Comment

Related Galleries

  • 1 of 3
  • Valentine's Day gifts: Tech for lovers and friends

    If your partner or friend is tech-obsessed, we've rounded some cool items we think they'll love this Valentine's Day.

  • Best Google Chrome extensions (February 2019 edition)

    If you are a Google Chrome user then you can give your productivity and performance a boost by equipping their browser with the right extensions. (Updated February 2019) ...

  • Totallee glossy Pixel 3/3 XL case: No branding, no bulk, and added grip

    While it is nice to have some protection for your expensive phones today, it's also nice to have a minimalist case that still lets you slip your phone in your pocket. Totallee's case ...

  • Mophie Powerstation PD XL hands-on: Charge your mobile device up to 2.5 times faster

    Today's modern smartphones will get you through a day before dying so portable battery packs are still useful. The new Mophie Powerstation PD XL gets you back in action quicker than ...

  • Top Google Chrome extensions (2019 edition)

    Google Chrome users can give their productivity and performance a boost by equipping their browser with the right extensions. (Updated January 2019)

  • Vena vCommute case for the Google Pixel 3: Hidden card slot, drop protection, and kickstand

    Wallet cases are popular and so are cases with kickstands for media viewing. Vena combines both of these functions in a case that meets MIL STD 810G-516.6 certification for drop protection. ...

  • Best Google Chrome extensions for productivity, security, and performance (2018 edition)

    Here is a selection of Google Chrome extensions aimed specifically at boosting your productivity, performance, and privacy. (Updated December 2018)

ZDNet
Connect with us

© 2019 CBS Interactive. All rights reserved. Privacy Policy | Cookies | Ad Choice | Advertise | Terms of Use | Mobile User Agreement

  • Topics
  • All Authors
  • Galleries
  • Videos
  • Sponsored Narratives
  • About ZDNet
  • Meet The Team
  • Site Map
  • RSS Feeds
  • Reprint Policy
  • Manage | Log Out
  • Join | Log In | Membership
  • Newsletters
  • Site Assistance
  • ZDNet Academy
  • TechRepublic Forums