Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 1 | page.title=Program Overview |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 2 | page.metaDescription=Get your apps ready for the next version of Android. |
Dirk Dougherty | 43eb951 | 2016-03-03 14:53:16 -0800 | [diff] [blame] | 3 | page.image=images/cards/card-n-overview_2x.png |
| 4 | meta.tags="preview", "developer", "android" |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 5 | page.tags="preview", "developer", "android" |
| 6 | |
| 7 | @jd:body |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 8 | <!-- |
| 9 | <div class="cols" style= |
| 10 | "background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;"> |
| 11 | <h3> |
| 12 | Developer Preview 3 is now available |
| 13 | </h3> |
| 14 | <p>Includes final SDK and near-final system images</p> |
| 15 | <div style="margin:auto 1em"> |
| 16 | <ul class="dac-section-links"> |
| 17 | <li class="dac-section-link"> |
| 18 | <a href="{@docRoot}preview/support.html#preview3-notes"> |
| 19 | <span class="dac-sprite dac-auto-chevron"></span> |
| 20 | Read the Notes</a> |
| 21 | </li> |
| 22 | |
| 23 | <li class="dac-section-link"> |
| 24 | <a href="{@docRoot}preview/support.html#preview3-get"> |
| 25 | <span class="dac-sprite dac-auto-chevron"></span> |
| 26 | Get the Update</a> |
| 27 | </li> |
| 28 | |
| 29 | <li class="dac-section-link"> |
| 30 | <a href="https://code.google.com/p/android-developer-preview/"> |
| 31 | <span class="dac-sprite dac-auto-chevron"></span> |
| 32 | Report Issues</a> |
| 33 | </li> |
| 34 | </ul> |
| 35 | </div> |
| 36 | </div> |
| 37 | --> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 38 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 39 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 40 | Welcome to the <strong>Android N Developer Preview</strong>, a program that |
| 41 | gives you everything you need to test and optimize your apps for the next |
| 42 | version of Android. It's free, and you can get started right away just by |
| 43 | downloading the N Developer Preview tools. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 44 | </p> |
| 45 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 52 | <div style="background-color:#eceff1;padding:1em;"> |
| 53 | <div class="wrap"> |
| 54 | <div class="cols"> |
| 55 | <div class="col-4of12"> |
| 56 | <h5> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 57 | Hardware and emulator images |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 58 | </h5> |
| 59 | |
| 60 | <p> |
Dirk Dougherty | f1040b4 | 2016-03-09 08:32:19 -0800 | [diff] [blame] | 61 | Run and test your apps on a range of devices or on an emulator. |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 62 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 63 | </p> |
| 64 | </div> |
| 65 | |
| 66 | <div class="col-4of12"> |
| 67 | <h5> |
| 68 | Latest platform code |
| 69 | </h5> |
| 70 | |
| 71 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 72 | We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 73 | </p> |
| 74 | </div> |
| 75 | |
| 76 | <div class="col-4of12"> |
| 77 | <h5> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 78 | Priority for developer issues |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 79 | </h5> |
| 80 | |
| 81 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 82 | During the first several weeks we’ll give priority to developer-reported |
| 83 | issues, so test and give feedback as soon as possible. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 84 | </p> |
| 85 | </div> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 86 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 87 | </div> |
| 88 | |
| 89 | <div class="cols"> |
| 90 | |
| 91 | |
| 92 | <div class="col-4of12"> |
| 93 | <h5> |
| 94 | New behaviors and capabilities |
| 95 | </h5> |
| 96 | |
| 97 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 98 | Start work early to support new platform behaviors and develop with new features. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 99 | </p> |
| 100 | </div> |
| 101 | |
| 102 | <div class="col-4of12"> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 103 | <h5> |
| 104 | Updates delivered by OTA |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 105 | </h5> |
| 106 | |
| 107 | <p> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 108 | Seamless over-the-air updates for any supported device through the |
| 109 | Android Beta Program. No flashing is needed. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 110 | </p> |
| 111 | </div> |
| 112 | |
| 113 | <div class="col-4of12"> |
| 114 | <h5> |
| 115 | Feedback and support |
| 116 | </h5> |
| 117 | |
| 118 | <p> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 119 | Report issues and give us feedback using our |
| 120 | <a href="{@docRoot}preview/bug">issue tracker</a>. Connect with other |
| 121 | developers in the |
| 122 | <a href="{@docRoot}preview/dev-community">N Developer Community</a>. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 123 | </p> |
| 124 | </div> |
| 125 | </div> |
| 126 | </div> |
| 127 | </div> |
| 128 | |
| 129 | <!-- |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 130 | <p>New in the Android N Developer Preview: </p> |
| 131 | |
| 132 | <ul> |
| 133 | <li> Accompanying Android Beta Program for consumers, starting later in the preview</li> |
| 134 | <li> More supported devices, including devices from OEM partners</li> |
| 135 | <li> Seamless OTAs for your devices, from initial release to final N release without flashing</li> |
| 136 | </ul> |
| 137 | --> |
| 138 | |
| 139 | <h2 id="timeline">Timeline and updates</h2> |
| 140 | <img src="{@docRoot}images/n-preview-updates_2x.png"> |
| 141 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 142 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 143 | The N Developer Preview runs from 9 March 2016 until the final Android N |
| 144 | public release to AOSP and OEMs, planned for Q3 2016. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 145 | </p> |
David Friedman | a18c41a | 2016-03-03 18:26:29 -0800 | [diff] [blame] | 146 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 147 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 148 | At key development milestones, we’ll deliver updates for your development and |
| 149 | testing environment. In general you can expect an update each month (4 to 6 |
| 150 | week interval). The milestones are listed below. |
| 151 | </p> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 152 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 153 | <ul> |
| 154 | <li><strong><a href="{@docRoot}preview/support.html">Preview 1</a></strong> (initial release, alpha)</li> |
| 155 | <li><strong>Preview 2</strong> (incremental update, beta)</li> |
| 156 | <li><strong>Preview 3</strong> (incremental update, beta)</li> |
| 157 | <li><strong>Preview 4</strong> (final APIs and official SDK, Play publishing)</li> |
| 158 | <li><strong>Preview 5</strong> (near-final system images for final testing)</li> |
| 159 | <li><strong>Final release</strong> to AOSP and ecosystem</li> |
| 160 | </ul> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 161 | |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 162 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 163 | Each update includes SDK tools, preview system images, emulators, reference |
| 164 | documentation, and API diffs. |
| 165 | </p> |
| 166 | |
| 167 | <p> |
| 168 | The <strong>first three preview milestones</strong> provide an <strong>early |
| 169 | test and development environment</strong> that help you identify |
| 170 | compatibility issues in your current apps and plan migration or feature work |
| 171 | needed to target the new platform. This is the priority period in which to |
| 172 | give us your feedback on features and APIs and file compatibility issues |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 173 | — for all of these, please use the <a href="{@docRoot}preview/bug">issue |
| 174 | tracker</a>. You can expect some API changes across these updates. |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 175 | </p> |
| 176 | |
| 177 | <p> |
| 178 | At <strong>previews 4 and 5</strong> you’ll have access to the <strong>final |
| 179 | N APIs and SDK</strong> to develop with, as well as near-final system images |
| 180 | to test system behaviors and features. Android N will provide a standard API |
| 181 | level at this time. You can begin final compatibility testing of your legacy |
| 182 | apps and refine any new code that is using the N APIs or features. |
| 183 | </p> |
| 184 | |
| 185 | <p> |
| 186 | Also starting in preview 4, you’ll be able to <strong>publish apps to |
| 187 | devices</strong> running Android N at the official API level, such as |
| 188 | consumer devices that have opted into the Android Beta program. You can |
| 189 | publish into the Google Play alpha and beta channels first, so you can test |
| 190 | your apps with Android Beta consumers before distributing broadly on the |
| 191 | store. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 192 | </p> |
| 193 | |
| 194 | <p> |
David Friedman | a18c41a | 2016-03-03 18:26:29 -0800 | [diff] [blame] | 195 | As you test and develop on Android N, we strongly recommend <strong>keeping |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 196 | your development environment up-to-date</strong> as preview updates are |
| 197 | released. To make the process easier, you can enroll your test devices in the |
| 198 | Android Beta program and get <strong>updates over-the-air (OTA)</strong> at |
| 199 | each milestone. Alternatively, updated preview images are available that you |
| 200 | download and flash manually. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 201 | </p> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 202 | |
| 203 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 204 | We’ll notify you when preview updates are available via the <a href= |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 205 | "http://android-developers.blogspot.com/">Android Developers Blog</a>, as |
David Friedman | 7254ae4 | 2016-03-09 00:34:33 -0800 | [diff] [blame] | 206 | well as this site and the <a href="{@docRoot}preview/dev-community">Android |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 207 | N Developer Community</a>. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 208 | </p> |
| 209 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 210 | |
| 211 | <h2 id="preview_tools">What's in the N Developer Preview?</h2> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 212 | |
| 213 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 214 | The N Developer Preview includes everything you need to test your existing |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 215 | apps on a variety of screen sizes, network technologies, CPU/GPU chipsets, |
| 216 | and hardware architectures. |
| 217 | </p> |
| 218 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 219 | <h3 id="sdk_tools">SDK tools</h3> |
| 220 | |
| 221 | <p>You can download these components through the SDK Manager in <a href="{@docRoot}sdk/installing/adding-packages.html">Android Studio</a>:</p> |
| 222 | |
| 223 | <ul> |
| 224 | <li> N Developer Preview <strong>SDK and tools</strong> |
| 225 | <li> N Developer Preview <strong>emulator system image</strong> (32-bit & 64-bit) |
| 226 | <li> N Developer Preview <strong>emulator system Image for Android TV</strong> (32-bit) |
| 227 | <li> N Developer Preview support libraries (for new app templates) |
| 228 | </ul> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 229 | |
| 230 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 231 | We’ll provide updates to these development tools at each milestone as needed. |
| 232 | </p> |
| 233 | |
| 234 | <h3 id="hardware_system_images">Hardware system images</h3> |
| 235 | |
| 236 | <p> |
Dirk Dougherty | b890729 | 2016-03-10 09:43:36 -0800 | [diff] [blame] | 237 | The N Developer Preview includes Nexus and other hardware system images that you can use when |
Andrew Solovay | 8e0a0e6 | 2016-03-08 17:12:30 -0800 | [diff] [blame] | 238 | testing and developing on physical devices. See the <a href= |
| 239 | "{@docRoot}preview/download.html">Device Images</a> page for the full list |
| 240 | of hardware images. |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 241 | </p> |
| 242 | |
| 243 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 244 | We’ll deliver updated system images for these devices at each milestone. You |
| 245 | can download and flash the updated system images to your test devices |
| 246 | manually, as frequently as you need. This is especially useful for automated |
| 247 | testing environments where you might need to reflash your device multiple |
| 248 | times. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 249 | </p> |
| 250 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 251 | <p class="note"><strong>Note</strong>: |
| 252 | <strong>Devices flashed manually will not get OTA updates</strong> like in |
| 253 | last year’s preview. This year, you can get OTAs by enrolling devices in the |
| 254 | Android Beta Program — see details in the next section. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 255 | </p> |
| 256 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 257 | <h3 id="android_beta">OTA Updates through Android Beta Program</h3> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 258 | |
| 259 | <p> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 260 | New for Android N is an Over-the-Air (OTA) update program that automatically |
| 261 | delivers the latest preview updates of Android N directly to devices enrolled |
| 262 | in the program. The program is free, and it’s open to anyone who has a |
| 263 | supported device that’s registered to their Google account. |
| 264 | </p> |
| 265 | |
| 266 | <p> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 267 | To enroll in the program visit the <a href="https://g.co/androidbeta">Android |
| 268 | Beta Program</a> site. You’ll |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 269 | see all of the devices registered to your account that are eligible to enroll |
| 270 | in Android Beta. |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 271 | </p> |
| 272 | |
| 273 | <ol> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 274 | <li> Choose the devices you want to receive the Android N updates |
| 275 | <li> Click Enroll, read and agree to the terms of service, and then click OK |
| 276 | </ol> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 277 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 278 | <p> |
| 279 | Once you’ve enrolled, your device will soon receive an update. In most cases, |
| 280 | you will not need to do a full reset of your data to move to Android N, but |
| 281 | it’s recommended that you back up any data you don’t want to lose before |
| 282 | enrolling the device. |
| 283 | </p> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 284 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 285 | <p> |
| 286 | As updates are delivered to your device, we recommend downloading and |
| 287 | installing them as soon as possible. You’ll want to stay current with the |
| 288 | latest changes in system UI, behavior, APIs, and features. |
| 289 | </p> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 290 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 291 | <p> |
| 292 | At the conclusion of the Developer Preview, your enrolled devices will |
| 293 | receive an update to the official Android N release. |
| 294 | </p> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 295 | |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 296 | <p> |
| 297 | You can un-enroll your devices from the Android Beta program at any time from |
| 298 | the Android Beta site. Before un-enrolling, make sure to back-up your data on |
| 299 | the device. |
| 300 | </p> |
| 301 | |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 302 | <p class="note"><strong>Note</strong>: |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 303 | When you un-enroll, <strong>your device will be factory reset</strong> |
| 304 | to the latest version |
| 305 | of Android 6.0 Marshmallow (not necessarily the version that you had |
| 306 | installed prior to enrolling the device). To ensure a clean installation, |
| 307 | your data will be erased from the device, including contacts, messages, |
| 308 | photos, and so on. |
| 309 | </p> |
| 310 | |
| 311 | <h3 id="documentation_and_sample_code">Documentation and sample code</h3> |
| 312 | |
| 313 | <p> |
| 314 | These documentation resources are available on the Developer Preview site to |
| 315 | help you learn about the Android N: |
| 316 | </p> |
| 317 | |
| 318 | <ul> |
David Friedman | fffa8ac | 2016-03-07 22:13:29 -0800 | [diff] [blame] | 319 | <li> <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for |
| 320 | Android N</a> has |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 321 | step-by-step instructions for getting started.</li> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 322 | <li> <a href="{@docRoot}preview/behavior-changes.html">Behavior |
| 323 | Changes</a> points you to key areas to test.</li> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 324 | <li> Documentation of new APIs, including an <a |
| 325 | href="{@docRoot}preview/api-overview.html">API Overview</a>, downloadable |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 326 | <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API |
Dirk Dougherty | e2a0612 | 2016-03-27 17:54:45 -0700 | [diff] [blame^] | 327 | Reference</a>, and detailed developer guides on key features such as |
| 328 | multi-window support, bundled notifications, multi-locale support, and others. |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 329 | <li> <a href="{@docRoot}preview/samples.html">Sample code</a> that |
| 330 | demonstrates how to support permissions and other new features. |
| 331 | <li> <a href="{@docRoot}preview/support.html#release-notes">Release notes</a> |
| 332 | for the current version of the N Developer Preview, including change notes and |
| 333 | diff reports. |
| 334 | </ul> |
| 335 | |
| 336 | <h4 id="reference">Downloadable API Reference</h4> |
| 337 | |
| 338 | <p> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 339 | During the early preview updates, you can download the latest |
| 340 | <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference |
| 341 | for the Android N platform</a> as a separate zip archive. The reference |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 342 | download also includes a diff report that helps you identify API changes from |
| 343 | API 23 and the previous update. |
| 344 | </p> |
| 345 | |
| 346 | <p> |
| 347 | When the Android N APIs are final and an official API level is assigned, |
| 348 | we’ll provide the API reference to you online at <a href= |
| 349 | "https://developer.android.com">https://developer.android.com</a>. |
| 350 | </p> |
| 351 | |
| 352 | <h3 id="support_resources"> |
| 353 | Support resources |
| 354 | </h3> |
| 355 | |
| 356 | <p> |
| 357 | As you test and develop on the N Developer Preview, please use these channels |
| 358 | to report issues and give feedback. |
| 359 | </p> |
| 360 | |
| 361 | <ul> |
| 362 | <li> <a href="https://code.google.com/p/android-developer-preview/">N Developer Preview Issue |
| 363 | Tracker</a> is your <strong>primary feedback channel.</strong> You can report bugs, performance |
David Friedman | 7254ae4 | 2016-03-09 00:34:33 -0800 | [diff] [blame] | 364 | issues, and general feedback through the issue tracker. You can also check for |
| 365 | <a href="{@docRoot}preview/bug">known issues</a> and |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 366 | find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to |
| 367 | the Android engineering team for review. </li> |
David Friedman | 7254ae4 | 2016-03-09 00:34:33 -0800 | [diff] [blame] | 368 | <li> The <a href="{@docRoot}preview/dev-community">Android N Developer Community</a> is |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 369 | a Google+ community where you can <strong>connect with other developers</strong>working with |
| 370 | Android N. You can share observations or ideas or find answers to |
| 371 | questions about Android N. We’ll moderate the community and provide answers and |
| 372 | guidance as needed.</li> |
| 373 | </ul> |
| 374 | |
| 375 | <h3 id="targeting">Targeting, preview APIs, and publishing</h3> |
| 376 | |
| 377 | <p> |
| 378 | The N Developer Preview provides a development-only system and Android |
| 379 | library that <strong>does not have a standard API level</strong>. If you want |
| 380 | to opt out of compatibility behaviors to test your app (which is strongly |
| 381 | recommended), you can target the preview version of Android N by setting your |
| 382 | app's <code><a href= |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 383 | "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 384 | to <code>“N”</code>. |
| 385 | </p> |
| 386 | |
| 387 | <p> |
| 388 | The Android N Developer Preview delivers <strong>preview APIs</strong> |
| 389 | — the APIs will not be official until the final SDK is released, |
| 390 | currently planned for the third quarter of 2016. This means that you can |
| 391 | <strong>expect minor API changes</strong> over time, especially during |
| 392 | initial weeks of the program. We’ll provide a summary of changes to you with |
| 393 | each update of the Android N Developer Preview. |
| 394 | </p> |
| 395 | |
| 396 | <p class="note"> |
| 397 | <strong>Note</strong>: Although preview APIs may change, underlying |
| 398 | system behaviors are stable and ready for testing against |
| 399 | right away. |
| 400 | </p> |
| 401 | |
| 402 | <p> |
| 403 | Google Play <strong>prevents publishing of apps targeting the N Developer |
| 404 | Preview</strong>. When the Android N final SDK is available, you’ll be able |
| 405 | to target the official Android N API level and publish your app to Google |
| 406 | Play via the alpha and beta release channels. Meanwhile, if you want to |
Dirk Dougherty | cf65e484 | 2016-03-07 22:31:57 -0800 | [diff] [blame] | 407 | distribute an app targeting Android N to testers, you can do so via email or |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 408 | by direct download from your site. |
| 409 | </p> |
| 410 | |
| 411 | <p> |
| 412 | At the full release of Android N to AOSP and OEMs, planned for Q3 2016, |
| 413 | you’ll be able to publish your apps targeting Android N to the public release |
| 414 | channel in Google Play. |
| 415 | </p> |
| 416 | |
| 417 | |
| 418 | <h2 id="how_to_get_started">How to get started</h2> |
| 419 | |
| 420 | <p> |
| 421 | To get started testing your app with Android N: |
| 422 | </p> |
| 423 | |
| 424 | <ol> |
| 425 | <li> Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a> |
| 426 | and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to |
| 427 | get an idea of what's new and how it affects your apps. In particular, |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 428 | learn about the new <a href="{@docRoot}preview/features/notification-updates.html" |
| 429 | >notifications</a> features and |
| 430 | <a href="{@docRoot}preview/features/multi-window.html">multi-window support</a>.</li> |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 431 | <li> Set up your environment by following the instructions for <a |
| 432 | href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a> |
| 433 | and configuring test devices.</li> |
| 434 | <li> Follow the <a href="https://developers.google.com/android/nexus/images">flashing |
Andrew Solovay | 8e0a0e6 | 2016-03-08 17:12:30 -0800 | [diff] [blame] | 435 | instructions</a> to flash the latest Android N system image for your device. </li> |
Andrew Solovay | 2d66b235 | 2016-03-08 15:55:14 -0800 | [diff] [blame] | 436 | <li> Review the <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a> |
David Friedman | fffa8ac | 2016-03-07 22:13:29 -0800 | [diff] [blame] | 437 | and <a href="{@docRoot}preview/samples.html">Android N samples</a> to gain more |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 438 | insight into new API features and how to use them in your app. |
David Friedman | 7254ae4 | 2016-03-09 00:34:33 -0800 | [diff] [blame] | 439 | <li> Join the <a href="{@docRoot}preview/dev-community">Android N |
Dirk Dougherty | a6495a92 | 2016-03-04 15:21:59 -0800 | [diff] [blame] | 440 | Developer Community</a> to get the latest news and connect with other |
| 441 | developers working with the new platform.</li> |
Dirk Dougherty | 5748bc4 | 2016-02-06 18:24:32 -0800 | [diff] [blame] | 442 | </ol> |
| 443 | |
| 444 | <p> |
David Friedman | a18c41a | 2016-03-03 18:26:29 -0800 | [diff] [blame] | 445 | Thank you for your participation in the Android N Developer Preview program! |
David Friedman | fffa8ac | 2016-03-07 22:13:29 -0800 | [diff] [blame] | 446 | </p> |