diff --git a/docs/html/develop/index.jd b/docs/html/develop/index.jd index 3b29318828781..460d056e04c63 100644 --- a/docs/html/develop/index.jd +++ b/docs/html/develop/index.jd @@ -63,7 +63,6 @@ excludeFromSuggestions=true

Latest

-
+ -
+
diff --git a/docs/html/jd_collections.js b/docs/html/jd_collections.js index 2e0cb88f4544f..31539da1c18b7 100644 --- a/docs/html/jd_collections.js +++ b/docs/html/jd_collections.js @@ -141,9 +141,8 @@ var RESOURCE_COLLECTIONS = { "preview/overview.html", "preview/api-overview.html", "preview/behavior-changes.html", - "preview/download.html", - "preview/samples.html", "preview/setup-sdk.html", + "preview/samples.html", "preview/support.html" ] }, @@ -151,8 +150,15 @@ var RESOURCE_COLLECTIONS = { "title": "", "resources": [ "preview/features/multi-window.html", + "preview/features/notification-updates.html", "preview/features/background-optimization.html", - "preview/features/notification-updates.html" + "preview/features/data-saver.html", + "preview/features/direct-boot.html", + "preview/features/icu4j-framework.html", + "preview/features/multilingual-support.html", + "preview/features/scoped-folder-access.html", + "preview/features/picture-in-picture.html", + "preview/features/tv-recording-api.html" ] }, "google/landing/services": { diff --git a/docs/html/jd_extras_en.js b/docs/html/jd_extras_en.js index d35dbb5493f6a..f43ddd6f44a21 100644 --- a/docs/html/jd_extras_en.js +++ b/docs/html/jd_extras_en.js @@ -4718,6 +4718,32 @@ METADATA['en'].collections = { "sdk/installing/studio-tips.html", ] }, + "preview/landing/resources": { + "title": "", + "resources": [ + "preview/overview.html", + "preview/api-overview.html", + "preview/behavior-changes.html", + "preview/setup-sdk.html", + "preview/samples.html", + "preview/support.html" + ] + }, + "preview/landing/more": { + "title": "", + "resources": [ + "preview/features/multi-window.html", + "preview/features/notification-updates.html", + "preview/features/background-optimization.html", + "preview/features/data-saver.html", + "preview/features/direct-boot.html", + "preview/features/icu4j-framework.html", + "preview/features/multilingual-support.html", + "preview/features/scoped-folder-access.html", + "preview/features/picture-in-picture.html", + "preview/features/tv-recording-api.html" + ] + } }; /** diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd index df18330aff49b..36341b2762b45 100644 --- a/docs/html/preview/api-overview.jd +++ b/docs/html/preview/api-overview.jd @@ -1,7 +1,7 @@ page.title=Android N APIs & Features meta.tags="preview", "androidn" page.tags="preview", "developer preview" -page.image=images/cards/card-n-overview_2x.png +page.image=images/cards/card-n-apis_2x.png @jd:body

diff --git a/docs/html/preview/index.jd b/docs/html/preview/index.jd index 826dc502eb8c3..778487da55283 100644 --- a/docs/html/preview/index.jd +++ b/docs/html/preview/index.jd @@ -7,15 +7,25 @@ header.hide=1 footer.hide=1 @jd:body + +

-
+ + + + +

Resources

- Essential information to help get your apps ready for the next version of Android. + Essential information to help you get your apps ready for Android N.
+ data-items-per-page="6" + data-maxResults="15" + data-initial-results="6">
-
diff --git a/docs/html/preview/overview.jd b/docs/html/preview/overview.jd index 87f08b1234884..bb056f76f4157 100644 --- a/docs/html/preview/overview.jd +++ b/docs/html/preview/overview.jd @@ -1,29 +1,67 @@ page.title=Program Overview -page.metaDescription=Welcome to the Android M Developer Preview, a program that gives you everything you need to test and optimize your apps for the next version of Android. +page.metaDescription=Get your apps ready for the next version of Android. page.image=images/cards/card-n-overview_2x.png meta.tags="preview", "developer", "android" page.tags="preview", "developer", "android" @jd:body +

- Welcome to the Android N Developer Preview, a program that gives you - everything you need to test and optimize your apps for the next version of - Android. It's free, and you can get started right away just by downloading - the Preview tools. + Welcome to the Android N Developer Preview, a program that + gives you everything you need to test and optimize your apps for the next + version of Android. It's free, and you can get started right away just by + downloading the N Developer Preview tools.

+ + + + + +
- Hardware and emulator system images + Hardware and emulator images

- Run and test your apps on Nexus 5X, 6P, 9, and Player (for TV), as well - as emulator. + Run and test your apps on Nexus 5X, 6, 6P, 9, + Pixel C, and Player, as well as other hardware + devices and emulator. +

@@ -33,21 +71,21 @@ page.tags="preview", "developer", "android"

- We’ll provide multiple updates during the Preview, so you’ll be testing - against the latest platform changes. + We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes.

- Updates delivered by OTA + Priority for developer issues

- You can get updates over-the-air, once you’ve flashed a - device to the initial preview. + During the first several weeks we’ll give priority to developer-reported + issues, so test and give feedback as soon as possible.

+
@@ -59,19 +97,17 @@ page.tags="preview", "developer", "android"

- Start work early to support new platform behaviors such as - the new runtime permissions model and power-saving features. + Start work early to support new platform behaviors and develop with new features.

-
- Priority window for developer-reported issues +
+ Updates delivered by OTA

- During the first several weeks we’ll give priority to developer-reported - issues, so test and give feedback as soon as possible. + Seamless over-the-air updates for any supported device through the Android Beta Program. No flashing is needed.

@@ -81,10 +117,8 @@ page.tags="preview", "developer", "android"

- Report issues and give us feedback using our issue tracker. - Connect with other developers in the Developer Community. - + Report issues and give us feedback using our issue tracker. + Connect with other developers in the N Developer Community.

@@ -92,204 +126,337 @@ page.tags="preview", "developer", "android"
+ +

Timeline and updates

+ +

- With the Preview, you'll get an early start on testing your apps, - with enough time to make adjustments before the public platform release later - in the year. We'll provide several updates to the Preview tools in the weeks - ahead, so you can keep in sync with the latest changes as the platform moves - toward launch. + The N Developer Preview runs from 9 March 2016 until the final Android N + public release to AOSP and OEMs, planned for Q3 2016.

- You can help us improve the platform by reporting issues - through our feedback channels. This is especially - critical in the first month of the preview, when we’ll be giving priority to - developer-reported issues and feedback. -

--> + At key development milestones, we’ll deliver updates for your development and + testing environment. In general you can expect an update each month (4 to 6 + week interval). The milestones are listed below. +

+
    +
  • Preview 1 (initial release, alpha)
  • +
  • Preview 2 (incremental update, beta)
  • +
  • Preview 3 (incremental update, beta)
  • +
  • Preview 4 (final APIs and official SDK, Play publishing)
  • +
  • Preview 5 (near-final system images for final testing)
  • +
  • Final release to AOSP and ecosystem
  • +
-

- Timeline and updates -

- The Preview runs from March 9 until the final Android N public release planned for Q3 - 2016. + Each update includes SDK tools, preview system images, emulators, reference + documentation, and API diffs. +

+ +

+ The first three preview milestones provide an early + test and development environment that help you identify + compatibility issues in your current apps and plan migration or feature work + needed to target the new platform. This is the priority period in which to + give us your feedback on features and APIs and file compatibility issues + — for all of these, please use the issue tracker [link]. You can expect + some API changes across these updates. +

+ +

+ At previews 4 and 5 you’ll have access to the final + N APIs and SDK to develop with, as well as near-final system images + to test system behaviors and features. Android N will provide a standard API + level at this time. You can begin final compatibility testing of your legacy + apps and refine any new code that is using the N APIs or features. +

+ +

+ Also starting in preview 4, you’ll be able to publish apps to + devices running Android N at the official API level, such as + consumer devices that have opted into the Android Beta program. You can + publish into the Google Play alpha and beta channels first, so you can test + your apps with Android Beta consumers before distributing broadly on the + store.

As you test and develop on Android N, we strongly recommend keeping - your development environment up-to-date as Preview updates are released. - To make the process easier, we'll deliver updates over-the-air - (OTA) to devices already flashed to a Preview build, as well as - providing system images that you can download and flash manually. + your development environment up-to-date as preview updates are + released. To make the process easier, you can enroll your test devices in the + Android Beta program and get updates over-the-air (OTA) at + each milestone. Alternatively, updated preview images are available that you + download and flash manually.

- We’ll notify you when Preview updates are available via the Android Developers Blog, as - well as this site and the Android N Developer Community. + well as this site and the Android + N Developer Community.

-

- What’s in the Preview? -

+ +

What's in the N Developer Preview?

- The Preview includes everything you need to test your existing + The N Developer Preview includes everything you need to test your existing apps on a variety of screen sizes, network technologies, CPU/GPU chipsets, and hardware architectures.

-

- SDK tools -

+

SDK tools

+ +

You can download these components through the SDK Manager in Android Studio:

+ +
    +
  • N Developer Preview SDK and tools +
  • N Developer Preview emulator system image (32-bit & 64-bit) +
  • N Developer Preview emulator system Image for Android TV (32-bit) +
  • N Developer Preview support libraries (for new app templates) +

- You can download these components through the SDK Manager in Android Studio: + We’ll provide updates to these development tools at each milestone as needed. +

+ +

Hardware system images

+ +

+ The N Developer Preview includes hardware system images that you can use when + testing and developing on physical devices. +

+ +

+ You can download these Nexus hardware system images from the Downloads page:

    -
  • Official Preview SDK and tools -
  • - -
  • N Preview emulator system image (32-bit & - 64-bit) -
  • - -
  • N Preview emulator system Image for Android TV - (32-bit) -
  • +
  • Nexus 5X (GSM/LTE) "bullhead" device system image
  • +
  • Nexus 6 (GSM/LTE) "shamu" device system image
  • +
  • Nexus 6P (GSM/LTE) "angler" device system image
  • +
  • Nexus 9 (Wi-Fi) "volantis" device system image
  • +
  • Nexus Player (Android TV) "fugu" device system image
  • +
  • Pixel C "ryu" device system image
-

- Hardware system images -

- -

- You can download these hardware system images for Nexus devices from the - Downloads page: -

+

In addition, you can download these hardware system images from our Developer +Preview partners:

    -
  • - Nexus 5X (GSM/LTE) "bullhead" device system image -
  • - -
  • - Nexus 6P (GSM/LTE) “angler” device system image -
  • - -
  • - Nexus 9 (Wi-Fi) “volantis” device system image -
  • - -
  • - Nexus Player (Android TV) “fugu” device system image -
  • +
  • General Mobile 4G Dual (Android One) "seed" device system image
-

- Documentation and sample code -

-

- These documentation resources help you learn about the Preview: + We’ll deliver updated system images for these devices at each milestone. You + can download and flash the updated system images to your test devices + manually, as frequently as you need. This is especially useful for automated + testing environments where you might need to reflash your device multiple + times.

- - -

- Support resources -

- -

- Use these support resources as you test and develop on the Preview: +

Note: + Devices flashed manually will not get OTA updates like in + last year’s preview. This year, you can get OTAs by enrolling devices in the + Android Beta Program — see details in the next section.

-
    -
  • Preview Issue Tracker - is your primary feedback - channel. You can report bugs, performance issues, and general - feedback through the issue tracker. You can also check for known issues - and find workaround steps. -
  • - -
  • Android N Developer Community is a Google+ community where you can - connect with other developers working with Android M. You can share - observations or ideas or find answers to questions about Android M. -
  • -
- - -

- How to get started -

+

OTA Updates through Android Beta Program

- To get started testing your app with the Preview: + New for Android N is an Over-the-Air (OTA) update program that automatically + delivers the latest preview updates of Android N directly to devices enrolled + in the program. The program is free, and it’s open to anyone who has a + supported device that’s registered to their Google account. +

+ +

+ To enroll in the program visit the Android Beta Program site [LINK]. You’ll + see all of the devices registered to your account that are eligible to enroll + in Android Beta.

    -
  1. Review the API Overview - and Behavior Changes to get an - idea of what's new and how it affects your apps. In particular, learn about - the new runtime - permissions model, power-saving features, and auto backup. -
  2. +
  3. Choose the devices you want to receive the Android N updates +
  4. Click Enroll, read and agree to the terms of service, and then click OK +
-
  • Set up your environment by following the instructions for - Setting up the Preview SDK - and configuring test devices. -
  • +

    + Once you’ve enrolled, your device will soon receive an update. In most cases, + you will not need to do a full reset of your data to move to Android N, but + it’s recommended that you back up any data you don’t want to lose before + enrolling the device. +

    -
  • Follow the - flashing instructions to flash the latest M developer preview system image - for Nexus 5, 6, 9, and Player. Once you've flashed your development device, - Preview updates will be delivered through over-the-air (OTA) updates. -
  • +

    + As updates are delivered to your device, we recommend downloading and + installing them as soon as possible. You’ll want to stay current with the + latest changes in system UI, behavior, APIs, and features. +

    -
  • Review the API - Reference and N Preview - samples to gain more insight into new API features and how to use them in - your app. -
  • +

    + At the conclusion of the Developer Preview, your enrolled devices will + receive an update to the official Android N release. +

    -
  • Join the Android M - Developer Community to get the latest news and connect with other - developers working with the new platform. -
  • +

    + You can un-enroll your devices from the Android Beta program at any time from + the Android Beta site. Before un-enrolling, make sure to back-up your data on + the device. +

    + +

    Note: + When you un-enroll, your device will be factory reset + to the latest version + of Android 6.0 Marshmallow (not necessarily the version that you had + installed prior to enrolling the device). To ensure a clean installation, + your data will be erased from the device, including contacts, messages, + photos, and so on. +

    + +

    Documentation and sample code

    + +

    + These documentation resources are available on the Developer Preview site to + help you learn about the Android N: +

    + +
      +
    • Setting Up the SDK has + step-by-step instructions for getting started.
    • +
    • Testing Guide + and Behavior + Changes point you to key areas to test.
    • +
    • Documentation of new APIs, including an API Overview, downloadable + API + Reference, and detailed developer guides on key features such as add + here, and others. +
    • Sample code that + demonstrates how to support permissions and other new features. +
    • Release notes + for the current version of the N Developer Preview, including change notes and + diff reports. +
    + +

    Downloadable API Reference

    + +

    + During the early preview updates, you can download the latest API reference + for the Android N platform as a separate zip archive. [LINK] The reference + download also includes a diff report that helps you identify API changes from + API 23 and the previous update. +

    + +

    + When the Android N APIs are final and an official API level is assigned, + we’ll provide the API reference to you online at https://developer.android.com. +

    + +

    + Support resources +

    + +

    + As you test and develop on the N Developer Preview, please use these channels + to report issues and give feedback. +

    + +
      +
    • N Developer Preview Issue + Tracker is your primary feedback channel. You can report bugs, performance + issues, and general feedback through the issue tracker. You can also check for known issues and + find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to + the Android engineering team for review.
    • +
    • The Android N Developer Community is + a Google+ community where you can connect with other developersworking with + Android N. You can share observations or ideas or find answers to + questions about Android N. We’ll moderate the community and provide answers and + guidance as needed.
    • +
    + +

    Targeting, preview APIs, and publishing

    + +

    + The N Developer Preview provides a development-only system and Android + library that does not have a standard API level. If you want + to opt out of compatibility behaviors to test your app (which is strongly + recommended), you can target the preview version of Android N by setting your + app's targetSdkVersion + to “N”. +

    + +

    + The Android N Developer Preview delivers preview APIs + — the APIs will not be official until the final SDK is released, + currently planned for the third quarter of 2016. This means that you can + expect minor API changes over time, especially during + initial weeks of the program. We’ll provide a summary of changes to you with + each update of the Android N Developer Preview. +

    + +

    + Note: Although preview APIs may change, underlying + system behaviors are stable and ready for testing against + right away. +

    + +

    + Google Play prevents publishing of apps targeting the N Developer + Preview. When the Android N final SDK is available, you’ll be able + to target the official Android N API level and publish your app to Google + Play via the alpha and beta release channels. Meanwhile, if you want to + distribute an app targeting Android M to testers, you can do so via email or + by direct download from your site. +

    + +

    + At the full release of Android N to AOSP and OEMs, planned for Q3 2016, + you’ll be able to publish your apps targeting Android N to the public release + channel in Google Play. +

    + + +

    How to get started

    + +

    + To get started testing your app with Android N: +

    + +
      +
    1. Review the API Overview + and Behavior Changes to + get an idea of what's new and how it affects your apps. In particular, + learn about the new runtime + permissions model, power-saving features, and auto backup.
    2. +
    3. Set up your environment by following the instructions for Setting up the Preview SDK + and configuring test devices.
    4. +
    5. Follow the flashing + instructions to flash the latest N Developer Preview system image for Nexus 5X, + 6, 6P, 9, Pixel C, and Player.
    6. +
    7. Review the API Reference + and M Preview samples to gain more + insight into new API features and how to use them in your app. +
    8. Join the Android N + Developer Community to get the latest news and connect with other + developers working with the new platform.

    Thank you for your participation in the Android N Developer Preview program! -

    +

    \ No newline at end of file diff --git a/docs/html/preview/samples.jd b/docs/html/preview/samples.jd index 7f0e9343ef852..bdcbc89e71d20 100644 --- a/docs/html/preview/samples.jd +++ b/docs/html/preview/samples.jd @@ -1,6 +1,6 @@ page.title=Samples page.tags="preview", "samples", "android" -page.image=images/cards/samples-new_2x.png +page.image=images/cards/card-n-samples_2x.png @jd:body