blob: 7f3c1701f5563d43d45d2b88e3523547d9318f91 [file] [log] [blame]
Dirk Dougherty5748bc42016-02-06 18:24:32 -08001page.title=Program Overview
Dirk Doughertya6495a922016-03-04 15:21:59 -08002page.metaDescription=Get your apps ready for the next version of Android.
Dirk Dougherty43eb9512016-03-03 14:53:16 -08003page.image=images/cards/card-n-overview_2x.png
4meta.tags="preview", "developer", "android"
Dirk Dougherty5748bc42016-02-06 18:24:32 -08005page.tags="preview", "developer", "android"
6
7@jd:body
Dirk Doughertya6495a922016-03-04 15:21:59 -08008<!--
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 Dougherty5748bc42016-02-06 18:24:32 -080038
Dirk Dougherty5748bc42016-02-06 18:24:32 -080039<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080040 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 Dougherty5748bc42016-02-06 18:24:32 -080044</p>
45
Dirk Doughertya6495a922016-03-04 15:21:59 -080046
47
48
49
50
51
Dirk Dougherty5748bc42016-02-06 18:24:32 -080052<div style="background-color:#eceff1;padding:1em;">
53<div class="wrap">
54 <div class="cols">
55 <div class="col-4of12">
56 <h5>
Dirk Doughertya6495a922016-03-04 15:21:59 -080057 Hardware and emulator images
Dirk Dougherty5748bc42016-02-06 18:24:32 -080058 </h5>
59
60 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080061 Run and test your apps on Nexus 5X, 6, 6P, 9,
62 Pixel C, and Player, as well as other hardware
63 devices and emulator.
64
Dirk Dougherty5748bc42016-02-06 18:24:32 -080065 </p>
66 </div>
67
68 <div class="col-4of12">
69 <h5>
70 Latest platform code
71 </h5>
72
73 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080074 We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080075 </p>
76 </div>
77
78 <div class="col-4of12">
79 <h5>
Dirk Doughertya6495a922016-03-04 15:21:59 -080080 Priority for developer issues
Dirk Dougherty5748bc42016-02-06 18:24:32 -080081 </h5>
82
83 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080084 During the first several weeks we’ll give priority to developer-reported
85 issues, so test and give feedback as soon as possible.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080086 </p>
87 </div>
Dirk Doughertya6495a922016-03-04 15:21:59 -080088
Dirk Dougherty5748bc42016-02-06 18:24:32 -080089 </div>
90
91 <div class="cols">
92
93
94 <div class="col-4of12">
95 <h5>
96 New behaviors and capabilities
97 </h5>
98
99 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800100 Start work early to support new platform behaviors and develop with new features.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800101 </p>
102 </div>
103
104 <div class="col-4of12">
Dirk Doughertya6495a922016-03-04 15:21:59 -0800105 <h5>
106 Updates delivered by OTA
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800107 </h5>
108
109 <p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800110 Seamless over-the-air updates for any supported device through the
111 Android Beta Program. No flashing is needed.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800112 </p>
113 </div>
114
115 <div class="col-4of12">
116 <h5>
117 Feedback and support
118 </h5>
119
120 <p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800121 Report issues and give us feedback using our
122 <a href="{@docRoot}preview/bug">issue tracker</a>. Connect with other
123 developers in the
124 <a href="{@docRoot}preview/dev-community">N&nbsp;Developer Community</a>.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800125 </p>
126 </div>
127 </div>
128</div>
129</div>
130
131<!--
Dirk Doughertya6495a922016-03-04 15:21:59 -0800132<p>New in the Android N Developer Preview: </p>
133
134<ul>
135 <li> Accompanying Android Beta Program for consumers, starting later in the preview</li>
136 <li> More supported devices, including devices from OEM partners</li>
137 <li> Seamless OTAs for your devices, from initial release to final N release without flashing</li>
138</ul>
139-->
140
141<h2 id="timeline">Timeline and updates</h2>
142<img src="{@docRoot}images/n-preview-updates_2x.png">
143
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800144<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800145 The N Developer Preview runs from 9 March 2016 until the final Android N
146 public release to AOSP and OEMs, planned for Q3 2016.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800147</p>
David Friedmana18c41a2016-03-03 18:26:29 -0800148
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800149<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800150 At key development milestones, we’ll deliver updates for your development and
151 testing environment. In general you can expect an update each month (4 to 6
152 week interval). The milestones are listed below.
153</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800154
Dirk Doughertya6495a922016-03-04 15:21:59 -0800155<ul>
156 <li><strong><a href="{@docRoot}preview/support.html">Preview 1</a></strong> (initial release, alpha)</li>
157 <li><strong>Preview 2</strong> (incremental update, beta)</li>
158 <li><strong>Preview 3</strong> (incremental update, beta)</li>
159 <li><strong>Preview 4</strong> (final APIs and official SDK, Play publishing)</li>
160 <li><strong>Preview 5</strong> (near-final system images for final testing)</li>
161 <li><strong>Final release</strong> to AOSP and ecosystem</li>
162</ul>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800163
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800164<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800165 Each update includes SDK tools, preview system images, emulators, reference
166 documentation, and API diffs.
167</p>
168
169<p>
170 The <strong>first three preview milestones</strong> provide an <strong>early
171 test and development environment</strong> that help you identify
172 compatibility issues in your current apps and plan migration or feature work
173 needed to target the new platform. This is the priority period in which to
174 give us your feedback on features and APIs and file compatibility issues
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800175 &mdash; for all of these, please use the <a href="{@docRoot}preview/bug">issue
176 tracker</a>. You can expect some API changes across these updates.
Dirk Doughertya6495a922016-03-04 15:21:59 -0800177</p>
178
179<p>
180 At <strong>previews 4 and 5</strong> you’ll have access to the <strong>final
181 N APIs and SDK</strong> to develop with, as well as near-final system images
182 to test system behaviors and features. Android N will provide a standard API
183 level at this time. You can begin final compatibility testing of your legacy
184 apps and refine any new code that is using the N APIs or features.
185</p>
186
187<p>
188 Also starting in preview 4, you’ll be able to <strong>publish apps to
189 devices</strong> running Android N at the official API level, such as
190 consumer devices that have opted into the Android Beta program. You can
191 publish into the Google Play alpha and beta channels first, so you can test
192 your apps with Android Beta consumers before distributing broadly on the
193 store.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800194</p>
195
196<p>
David Friedmana18c41a2016-03-03 18:26:29 -0800197 As you test and develop on Android N, we strongly recommend <strong>keeping
Dirk Doughertya6495a922016-03-04 15:21:59 -0800198 your development environment up-to-date</strong> as preview updates are
199 released. To make the process easier, you can enroll your test devices in the
200 Android Beta program and get <strong>updates over-the-air (OTA)</strong> at
201 each milestone. Alternatively, updated preview images are available that you
202 download and flash manually.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800203</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800204
205<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800206 We’ll notify you when preview updates are available via the <a href=
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800207 "http://android-developers.blogspot.com/">Android Developers Blog</a>, as
Dirk Doughertya6495a922016-03-04 15:21:59 -0800208 well as this site and the <a href="https://developer.android.com/preview/dev-community">Android
209 N Developer Community</a>.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800210</p>
211
Dirk Doughertya6495a922016-03-04 15:21:59 -0800212
213<h2 id="preview_tools">What's in the N Developer Preview?</h2>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800214
215<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800216 The N Developer Preview includes everything you need to test your existing
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800217 apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
218 and hardware architectures.
219</p>
220
Dirk Doughertya6495a922016-03-04 15:21:59 -0800221<h3 id="sdk_tools">SDK tools</h3>
222
223<p>You can download these components through the SDK Manager in <a href="{@docRoot}sdk/installing/adding-packages.html">Android Studio</a>:</p>
224
225<ul>
226 <li> N Developer Preview <strong>SDK and tools</strong>
227 <li> N Developer Preview <strong>emulator system image</strong> (32-bit & 64-bit)
228 <li> N Developer Preview <strong>emulator system Image for Android TV</strong> (32-bit)
229 <li> N Developer Preview support libraries (for new app templates)
230</ul>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800231
232<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800233 We’ll provide updates to these development tools at each milestone as needed.
234</p>
235
236<h3 id="hardware_system_images">Hardware system images</h3>
237
238<p>
239 The N Developer Preview includes hardware system images that you can use when
240 testing and developing on physical devices.
241</p>
242
243<p>
244 You can download these Nexus hardware system images from the <a href=
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800245 "{@docRoot}preview/download.html">Device Images</a> page:
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800246</p>
247
248<ul>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800249 <li> <strong>Nexus 5X</strong> (GSM/LTE) "bullhead" device system image</li>
250 <li> <strong>Nexus 6 (GSM/LTE)</strong> "shamu" device system image</li>
251 <li> <strong>Nexus 6P (GSM/LTE)</strong> "angler" device system image</li>
252 <li> <strong>Nexus 9</strong> (Wi-Fi) "volantis" device system image</li>
253 <li> <strong>Nexus Player</strong> (Android TV) "fugu" device system image</li>
254 <li> <strong>Pixel C</strong> "ryu" device system image</li>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800255</ul>
256
Dirk Doughertya6495a922016-03-04 15:21:59 -0800257<p>In addition, you can download these hardware system images from our Developer
258Preview partners:</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800259
260<ul>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800261 <li><strong>General Mobile 4G Dual (Android One)</strong> "seed" device system image</li>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800262</ul>
263
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800264<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800265 We’ll deliver updated system images for these devices at each milestone. You
266 can download and flash the updated system images to your test devices
267 manually, as frequently as you need. This is especially useful for automated
268 testing environments where you might need to reflash your device multiple
269 times.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800270</p>
271
Dirk Doughertya6495a922016-03-04 15:21:59 -0800272<p class="note"><strong>Note</strong>:
273 <strong>Devices flashed manually will not get OTA updates</strong> like in
274 last year’s preview. This year, you can get OTAs by enrolling devices in the
275 Android Beta Program &mdash; see details in the next section.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800276</p>
277
Dirk Doughertya6495a922016-03-04 15:21:59 -0800278<h3 id="android_beta">OTA Updates through Android Beta Program</h3>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800279
280<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800281 New for Android N is an Over-the-Air (OTA) update program that automatically
282 delivers the latest preview updates of Android N directly to devices enrolled
283 in the program. The program is free, and it’s open to anyone who has a
284 supported device that’s registered to their Google account.
285</p>
286
287<p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800288 To enroll in the program visit the <a href="https://g.co/androidbeta">Android
289 Beta Program</a> site. You’ll
Dirk Doughertya6495a922016-03-04 15:21:59 -0800290 see all of the devices registered to your account that are eligible to enroll
291 in Android Beta.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800292</p>
293
294<ol>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800295 <li> Choose the devices you want to receive the Android N updates
296 <li> Click Enroll, read and agree to the terms of service, and then click OK
297</ol>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800298
Dirk Doughertya6495a922016-03-04 15:21:59 -0800299<p>
300 Once you’ve enrolled, your device will soon receive an update. In most cases,
301 you will not need to do a full reset of your data to move to Android N, but
302 it’s recommended that you back up any data you don’t want to lose before
303 enrolling the device.
304</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800305
Dirk Doughertya6495a922016-03-04 15:21:59 -0800306<p>
307 As updates are delivered to your device, we recommend downloading and
308 installing them as soon as possible. You’ll want to stay current with the
309 latest changes in system UI, behavior, APIs, and features.
310</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800311
Dirk Doughertya6495a922016-03-04 15:21:59 -0800312<p>
313 At the conclusion of the Developer Preview, your enrolled devices will
314 receive an update to the official Android N release.
315</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800316
Dirk Doughertya6495a922016-03-04 15:21:59 -0800317<p>
318 You can un-enroll your devices from the Android Beta program at any time from
319 the Android Beta site. Before un-enrolling, make sure to back-up your data on
320 the device.
321</p>
322
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800323 <p class="note"><strong>Note</strong>:
Dirk Doughertya6495a922016-03-04 15:21:59 -0800324 When you un-enroll, <strong>your device will be factory reset</strong>
325 to the latest version
326 of Android 6.0 Marshmallow (not necessarily the version that you had
327 installed prior to enrolling the device). To ensure a clean installation,
328 your data will be erased from the device, including contacts, messages,
329 photos, and so on.
330</p>
331
332<h3 id="documentation_and_sample_code">Documentation and sample code</h3>
333
334<p>
335 These documentation resources are available on the Developer Preview site to
336 help you learn about the Android&nbsp;N:
337</p>
338
339<ul>
David Friedmanfffa8ac2016-03-07 22:13:29 -0800340 <li> <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for
341Android N</a> has
Dirk Doughertya6495a922016-03-04 15:21:59 -0800342 step-by-step instructions for getting started.</li>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800343 <li> <a href="{@docRoot}preview/behavior-changes.html">Behavior
344 Changes</a> points you to key areas to test.</li>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800345 <li> Documentation of new APIs, including an <a
346 href="{@docRoot}preview/api-overview.html">API Overview</a>, downloadable
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800347 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API
Dirk Doughertya6495a922016-03-04 15:21:59 -0800348 Reference</a>, and detailed developer guides on key features such as add
349 here, and others.
350 <li> <a href="{@docRoot}preview/samples.html">Sample code</a> that
351 demonstrates how to support permissions and other new features.
352 <li> <a href="{@docRoot}preview/support.html#release-notes">Release notes</a>
353 for the current version of the N Developer Preview, including change notes and
354 diff reports.
355</ul>
356
357<h4 id="reference">Downloadable API Reference</h4>
358
359<p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800360 During the early preview updates, you can download the latest
361 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference
362 for the Android N platform</a> as a separate zip archive. The reference
Dirk Doughertya6495a922016-03-04 15:21:59 -0800363 download also includes a diff report that helps you identify API changes from
364 API 23 and the previous update.
365</p>
366
367<p>
368 When the Android N APIs are final and an official API level is assigned,
369 we’ll provide the API reference to you online at <a href=
370 "https://developer.android.com">https://developer.android.com</a>.
371</p>
372
373<h3 id="support_resources">
374 Support resources
375</h3>
376
377<p>
378 As you test and develop on the N Developer Preview, please use these channels
379 to report issues and give feedback.
380</p>
381
382<ul>
383 <li> <a href="https://code.google.com/p/android-developer-preview/">N Developer Preview Issue
384 Tracker</a> is your <strong>primary feedback channel.</strong> You can report bugs, performance
385 issues, and general feedback through the issue tracker. You can also check for <a
386 href="https://code.google.com/p/android-developer-preview/wiki/KnownIssues">known issues</a> and
387 find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to
388 the Android engineering team for review. </li>
389 <li> The <a href="https://developer.android.com/preview/dev-community">Android N Developer Community</a> is
390 a Google+ community where you can <strong>connect with other developers</strong>working with
391 Android N. You can share observations or ideas or find answers to
392 questions about Android N. We’ll moderate the community and provide answers and
393 guidance as needed.</li>
394</ul>
395
396<h3 id="targeting">Targeting, preview APIs, and publishing</h3>
397
398<p>
399 The N Developer Preview provides a development-only system and Android
400 library that <strong>does not have a standard API level</strong>. If you want
401 to opt out of compatibility behaviors to test your app (which is strongly
402 recommended), you can target the preview version of Android N by setting your
403 app's <code><a href=
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800404 "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800405 to <code>“N”</code>.
406</p>
407
408<p>
409 The Android N Developer Preview delivers <strong>preview APIs</strong>
410 &mdash; the APIs will not be official until the final SDK is released,
411 currently planned for the third quarter of 2016. This means that you can
412 <strong>expect minor API changes</strong> over time, especially during
413 initial weeks of the program. We’ll provide a summary of changes to you with
414 each update of the Android N Developer Preview.
415</p>
416
417<p class="note">
418 <strong>Note</strong>: Although preview APIs may change, underlying
419 system behaviors are stable and ready for testing against
420 right away.
421</p>
422
423<p>
424 Google Play <strong>prevents publishing of apps targeting the N Developer
425 Preview</strong>. When the Android N final SDK is available, you’ll be able
426 to target the official Android N API level and publish your app to Google
427 Play via the alpha and beta release channels. Meanwhile, if you want to
428 distribute an app targeting Android M to testers, you can do so via email or
429 by direct download from your site.
430</p>
431
432<p>
433 At the full release of Android N to AOSP and OEMs, planned for Q3 2016,
434 you’ll be able to publish your apps targeting Android N to the public release
435 channel in Google Play.
436</p>
437
438
439<h2 id="how_to_get_started">How to get started</h2>
440
441<p>
442 To get started testing your app with Android N:
443</p>
444
445<ol>
446 <li> Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a>
447 and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to
448 get an idea of what's new and how it affects your apps. In particular,
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800449 learn about the new <a href="{@docRoot}preview/features/notification-updates.html"
450 >notifications</a> features and
451 <a href="{@docRoot}preview/features/multi-window.html">multi-window support</a>.</li>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800452 <li> Set up your environment by following the instructions for <a
453 href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a>
454 and configuring test devices.</li>
455 <li> Follow the <a href="https://developers.google.com/android/nexus/images">flashing
David Friedmanfffa8ac2016-03-07 22:13:29 -0800456 instructions</a> to flash the latest Android N system image for Nexus 5X,
Dirk Doughertya6495a922016-03-04 15:21:59 -0800457 6, 6P, 9, Pixel C, and Player. </li>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800458 <li> Review the <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>
David Friedmanfffa8ac2016-03-07 22:13:29 -0800459 and <a href="{@docRoot}preview/samples.html">Android N samples</a> to gain more
Dirk Doughertya6495a922016-03-04 15:21:59 -0800460 insight into new API features and how to use them in your app.
461 <li> Join the <a href="https://developer.android.com/preview/dev-community">Android N
462 Developer Community</a> to get the latest news and connect with other
463 developers working with the new platform.</li>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800464</ol>
465
466<p>
David Friedmana18c41a2016-03-03 18:26:29 -0800467 Thank you for your participation in the Android N Developer Preview program!
David Friedmanfffa8ac2016-03-07 22:13:29 -0800468</p>