diff --git a/docs/html/index.jd b/docs/html/index.jd index c6dbbd5278d64..eef7929dbbd5f 100644 --- a/docs/html/index.jd +++ b/docs/html/index.jd @@ -10,32 +10,31 @@ page.customHeadTag= -
+
-
+
diff --git a/docs/html/preview/download.jd b/docs/html/preview/download.jd index 0dfabefe51e2a..0b115f22adadb 100644 --- a/docs/html/preview/download.jd +++ b/docs/html/preview/download.jd @@ -164,7 +164,7 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

In this document

    -
  1. Developer Preview 2 SDK
  2. +
  3. Developer Preview 3 SDK
  4. Developer Documentation
  5. Hardware System Images
@@ -178,13 +178,13 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

- The Android M Preview SDK includes development tools, Android system files, and library files to + The Android M Preview SDK includes development tools, Android system images, and library files to help you test your app and the new APIs coming in the next release of the platform. This document describes how to get the downloadable components of the preview for testing your app.

-

Developer Preview 2 SDK

+

Developer Preview 3 SDK

The Preview SDK is available for download through the Developer Documentation

- The developer documentation download package provides detailed API reference information and an API difference report for the preview. + The developer documentation download package provides detailed API reference information and + an API difference report for the preview. Note that API + level 23 reference and diffs are now + also available online.

@@ -206,11 +209,11 @@ This is the Android SDK Preview License Agreement (the “License Agreement”). - +
Download / Checksums
Android M Preview 2
Developer Docs
Android M Preview 3
Developer Docs
m-preview-2-developer-docs.zip
- MD5: 1db6fff9c722b0339757e1cdf43663a8
- SHA-1: 5a4ae88d644e63824d21b0e18f8e3977a7665157 + >m-preview-3-developer-docs.zip
+ MD5: -
+ SHA-1: -
diff --git a/docs/html/preview/download_mp2.jd b/docs/html/preview/download_mp2.jd new file mode 100644 index 0000000000000..0dfabefe51e2a --- /dev/null +++ b/docs/html/preview/download_mp2.jd @@ -0,0 +1,367 @@ +page.title=Downloads +page.image=images/cards/card-download_16-9_2x.png + +@jd:body + +
+ + + + +
+ +
+
+

In this document

+
    +
  1. Developer Preview 2 SDK
  2. +
  3. Developer Documentation
  4. +
  5. Hardware System Images
  6. +
+ +

Legacy downloads

+
    +
  1. Developer Preview Archive
  2. +
+
+
+ + +

+ The Android M Preview SDK includes development tools, Android system files, and library files to + help you test your app and the new APIs coming in the next release of the platform. This document + describes how to get the downloadable components of the preview for testing your app. +

+ + +

Developer Preview 2 SDK

+ +

+ The Preview SDK is available for download through the Android SDK Manager. For more information on + downloading and configuring the Preview SDK, see Set Up the Preview SDK. +

+ + +

Developer Documentation

+ +

+ The developer documentation download package provides detailed API reference information and an API difference report for the preview. +

+ +
+ + + + + + + + +
DescriptionDownload / Checksums
Android M Preview 2
Developer Docs
m-preview-2-developer-docs.zip
+ MD5: 1db6fff9c722b0339757e1cdf43663a8
+ SHA-1: 5a4ae88d644e63824d21b0e18f8e3977a7665157 +
+ + +

Hardware System Images

+ +

+ These system images allow you to install a preview version of the platform on a physical device for + testing. By configuring a device with one of these images, you can install and test your app to + see how it performs on the next version of the platform. The process of installing a system image + on a device removes all data from the device, so you should backup your data before + installing a system image. +

+ +

+ Warning: The following Android system images are previews and are subject to change. Your + use of these system images is governed by the Android SDK Preview License Agreement. The Android + preview system images are not stable releases, and may contain errors and defects that can result + in damage to your computer systems, devices, and data. The preview Android system images are not + subject to the same testing as the factory OS and can cause your phone and installed services and + applications to stop working. +

+ +
+ + + + + + + + + + + + + + + + + + + + + + +
DeviceDownload / Checksums
Nexus 5 (GSM/LTE)
"hammerhead"
hammerhead-MPZ79M-preview-b1f4bde4.tgz
+ MD5: 2ca9f18bf47a061b339bab52647ceb0d
+ SHA-1: b1f4bde447eccbf8ce5d9b8b8ba954e3eac8e939 +
Nexus 6
"shamu"
shamu-MPZ79M-preview-e1024040.tgz
+ MD5: 24a2118da340b9afedfbdfc026f6ff81
+ SHA-1: e10240408859d5188c4aae140e1c539130ba614b +
Nexus 9
"volantis"
volantis-MPZ79M-preview-9f305342.tgz
+ MD5: 9edabf0a4c61b247f1cbb9dfdc0a899e
+ SHA-1: 9f30534216f10899a6a75495fc7e92408ea333a7 +
Nexus Player
"fugu"
fugu-MPZ79N-preview-fb63af98.tgz
+ MD5: e8d081137a20b66df595ee69523314b5
+ SHA-1: fb63af98302dd97be8de9313734d389ccdcce250 +
+ +

Install an Image to a Device

+ +

+ In order to use a device image for testing, you must install it on a compatible device. Follow + the instructions below to install a system image: +

+ +
    +
  1. Download and uncompress one of the system image packages listed here.
  2. +
  3. Backup any data you want to preserve from the device.
  4. +
  5. Follow the instructions at + developers.google.com/android + to flash the image onto your device.
  6. +
+ +

Updating a Device with the Preview

+ +

+ Once you have installed a preview system image on a development device, the device is upgraded + automatically with the next preview release through over-the-air (OTA) updates. When the update + is available, the device displays notification that an update is available and allows you to + install it. You can also manually install the next preview image by repeating the procedure in + the previous section. +

+ +

Revert a Device to Factory Specifications

+ +

+ If you want to uninstall the preview and revert the device to factory specifications, go to + developers.google.com/android and + download the image you want to flash to for your device. Follow the instructions on that page to + flash the image to your device. +

+ +
+ +
+ + + + diff --git a/docs/html/preview/index.jd b/docs/html/preview/index.jd index 022838b9cbe8c..5410e4fb5ae4b 100644 --- a/docs/html/preview/index.jd +++ b/docs/html/preview/index.jd @@ -18,6 +18,7 @@ footer.hide=1

Android M Developer Preview

+ Final SDK is now available! Get ready for the next version of Android. Test your apps on Nexus 5, 6, 9, and Player. Explore what's new — runtime permissions, Doze and App Standby power-saving features, new @@ -30,7 +31,7 @@ footer.hide=1
- Update to Developer Preview 2 + Update to Developer Preview 3 (final SDK)

diff --git a/docs/html/preview/overview.jd b/docs/html/preview/overview.jd index 009e268a754c0..97935928d0081 100644 --- a/docs/html/preview/overview.jd +++ b/docs/html/preview/overview.jd @@ -6,20 +6,21 @@ page.tags="preview", "developer", "android" @jd:body
+"background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;">

- Developer Preview 2 is now available + Developer Preview 3 is now available

- +

Includes final SDK and near-final system images

+
+

@@ -143,14 +145,13 @@ page.tags="preview", "developer", "android" Preview program timeline

- The M Developer Preview runs from May 28 until the final Android M SDK, which - we’ll release shortly before the public release during Q3 + The M Developer Preview runs from May 28 until the final Android M public release planned for Q3 2015.

At key development milestones, we’ll deliver updates for your test devices. - The tentative milestones are + The milestones are

- These updates culminate in the final SDK (later in Q3), + These updates culminate in the final SDK (available now), which delivers the official APIs for the new version of Android, as well as the final system behaviors and features.

@@ -181,8 +182,10 @@ page.tags="preview", "developer", "android" providing system images that you can download and flash manually.

- Note: The final SDK and system images can not be delivered - by OTA, but will instead need to be flashed manually to + Note: Developer Preview 3 includes final APIs and near-final + system images available by both download and OTA. At the full public release of + Android M later in Q3, final system images will be available by download only, + so you'll need to flash manually to your test devices.

@@ -316,40 +319,29 @@ page.tags="preview", "developer", "android"

- Targeting, preview APIs, and publishing + Final SDK, targeting, and publishing

- The Android M Developer Preview is a development-only release and - does not have a standard API level. If you want to opt out +

With Developer Preview 3, the platform APIs are now official (API level 23) and the + final SDK is now available. We recommend updating your environment + right away through Android Studio. Once you've updated your environment, you can target + the new API level, compile against the new platform, and publish at your convenience + to Google Play (including alpha, beta, or release channels). + +

If you want to opt out of compatibility behaviors to test your app (which is strongly recommended), you can target the M Developer Preview by setting your app's targetSdkVersion to “MNC”.

-

- The Android M Developer Preview delivers preview APIs - — the APIs will not be official until the final SDK is released, - currently planned for the third quarter of 2015. 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 M Developer Preview. -

- -

- Note that although preview APIs may change, underlying system behaviors such - as runtime permissions and power-saving features are stable and ready for - testing right away. -

- -

- In terms of publishing, Google Play prevents publishing of apps - targeting the M Developer Preview. When the Android M final SDK is - available, you’ll be able to target the official Android M API level and - publish your app to Google Play. 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. +

Before releasing your app targeting Android M, we strongly recommend distributing it + to a group of testers through the new + beta testing features available in the Google Play Developer Console. See the + Help + Center article for more information.

@@ -357,7 +349,7 @@ page.tags="preview", "developer", "android"

- To get started testing your app: + To get started testing your app with Android M:

    @@ -379,7 +371,7 @@ page.tags="preview", "developer", "android" Preview updates will be delivered through over-the-air (OTA) updates. -
  1. Download the M Preview API +
  2. Review the API Reference and M Preview samples to gain more insight into new API features and how to use them in your app. diff --git a/docs/html/preview/support.jd b/docs/html/preview/support.jd index d908f779ebcb9..9ad9ac0074185 100644 --- a/docs/html/preview/support.jd +++ b/docs/html/preview/support.jd @@ -5,20 +5,21 @@ page.image=images/cards/card-support_16-9_2x.png @jd:body
    +"background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;">

    - Developer Preview 2 is now available + Developer Preview 3 is now available

    - +

    Includes final SDK and near-final system images

    +
    +

    @@ -46,6 +48,191 @@ page.image=images/cards/card-support_16-9_2x.png community.

    +

    + Developer Preview 3 +

    + +
    +
    +
    +

    + Date: August 2015
    + Builds: XXXXXX (Nexus 5, 6, 9), MPZ79N (Nexus Player)
    + Hardware support: Nexus 5, 6, 9, Player
    + Emulator support: x86 & ARM 32/64-bit
    + Google Play services: 7.8
    +

    +
    +
    +
    + +

    + Android M Developer Preview 3 is the final incremental update + to the Android M preview platform that was originally released in May 2015. + The update includes final APIs and final SDK, as well as + near-final system images for testing your apps. The + updated system images include a variety of fixes and enhancements across + the system, including those related to issues reported by developers + through the external issue tracker. +

    + +

    + If you are currently developing or testing on Android M, you should update + your environment to Developer Preview 3 as soon as possible, so that + you can begin final compatibility testing in preparation for the public + release to device manufacturers.

    + +

    Updating to Developer Preview 3 ensures that + you are building against final platform APIs and testing against + the final behaviors. If you are just getting started with the Android + M Developer Preview SDK, follow the instructions in Set up the Preview SDK, then update your + environment for Developer Preview 3. +

    + +

    + What's included +

    + +

    + Developer Preview 3 includes an updated SDK and system images, + documentation, and samples for developing against the final Android M + development platform. +

    + +
      +
    • + SDK platform and system images (Nexus and + emulator) for building and testing. You can download the updated tools from + the SDK Manager, and the system images are available by over-the-air (OTA) + update or download (see below). +
    • + +
    • + Updated documentation. The Behavior Changes, API Overview, and Permissions documents have + been updated to reflect the latest changes in the platform. An updated + Developer Documentation download + package is available, including full reference docs and API diff + reports. +
    • + +
    • + Translations of the documentation are now available. Use + the language selector at the bottom right corner of any page to switch + languages. Note that some of the translated docs are not yet updated for + Developer Preview 3 (coming soon). +
    • + +
    • The Android M code samples are also + updated to account for API and behavior changes: +
        +
      • + RuntimePermissions + / RuntimePermissionsBasic + are updated to reflect latest permissions API changes, including + shouldShowRequestPermissionRationale(). +
      • +
      • + FingerprintDialog + adds a flow to ask for passwords when new fingerprints are added as + well as a preference if the app will use fingerprints as a method of + authentication. +
      • +
      +
    • +
    + +

    + Key changes +

    + +
      +
    • Add here +
        +
      • +
      • +
      +
    • + +
    • Other changes +
        +
      • +
      • +
      +
    • +
    + +

    + For a complete list of changes, including renamed and removed APIs, please + refer to the API Diff reports below:

    + + +

    + Known issues +

    + +
      +
    • General issues: +
        +
      • Add +
      • +
      +
    • +
    + +

    + For a complete list of reported issues, please refer to the open issues list on the + Developer Preview issue tracker. +

    + +

    + Get Developer Preview 3 +

    + +

    + You can download the Developer Preview 3 final SDK platform and + emulator images from the SDK Manager. +

    + +

    + Developer Preview 3 system images for supported Nexus devices are available + by download and by over-the-air (OTA) update. The OTA update is available + only to supported devices that are currently running a Developer Preview build. + If your device is running a Developer Preview build, you should automatically receive + the OTA update within a few days of availability. +

    + +

    + If you are just getting started with Android M Developer Preview and want + to receive Developer Preview 3 via OTA, download the + Developer Preview 2 + system image, and flash it to your device. Then, + leave the device powered on for several hours. It registers with the + OTA service, and receives Developer Preview 3 by OTA. +

    + +

    + For instructions on how to download and flash your device to the Developer + Preview, see the links and instructions on the Downloads page. +

    + +

    + For instructions on how to start developing and testing with Android M, read + Setting up the SDK. +

    +

    Developer Preview 2

    @@ -164,8 +351,8 @@ page.image=images/cards/card-support_16-9_2x.png
  3. Remote Bluetooth/Wi-Fi MAC's now require either the - android.permission.LOCATION_FINE or - android.permission.LOCATION_COARSE permission. + android.permission.ACCESS_COARSE_LOCATION or + android.permission.ACCESS_FINE_LOCATION permission.
  4. Some accounts and identity permissions are moved to