blob: 935eb1a44a2f5e3b2453cecac24b929900edacf5 [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 Doughertyf1040b42016-03-09 08:32:19 -080061 Run and test your apps on a range of devices or on an emulator.
Dirk Doughertya6495a922016-03-04 15:21:59 -080062
Dirk Dougherty5748bc42016-02-06 18:24:32 -080063 </p>
64 </div>
65
66 <div class="col-4of12">
67 <h5>
68 Latest platform code
69 </h5>
70
71 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080072 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 -080073 </p>
74 </div>
75
76 <div class="col-4of12">
77 <h5>
Dirk Doughertya6495a922016-03-04 15:21:59 -080078 Priority for developer issues
Dirk Dougherty5748bc42016-02-06 18:24:32 -080079 </h5>
80
81 <p>
Dirk Doughertya6495a922016-03-04 15:21:59 -080082 During the first several weeks we’ll give priority to developer-reported
83 issues, so test and give feedback as soon as possible.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080084 </p>
85 </div>
Dirk Doughertya6495a922016-03-04 15:21:59 -080086
Dirk Dougherty5748bc42016-02-06 18:24:32 -080087 </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 Doughertya6495a922016-03-04 15:21:59 -080098 Start work early to support new platform behaviors and develop with new features.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080099 </p>
100 </div>
101
102 <div class="col-4of12">
Dirk Doughertya6495a922016-03-04 15:21:59 -0800103 <h5>
104 Updates delivered by OTA
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800105 </h5>
106
107 <p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800108 Seamless over-the-air updates for any supported device through the
109 Android Beta Program. No flashing is needed.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800110 </p>
111 </div>
112
113 <div class="col-4of12">
114 <h5>
115 Feedback and support
116 </h5>
117
118 <p>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800119 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&nbsp;Developer Community</a>.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800123 </p>
124 </div>
125 </div>
126</div>
127</div>
128
129<!--
Dirk Doughertya6495a922016-03-04 15:21:59 -0800130<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 Dougherty5748bc42016-02-06 18:24:32 -0800142<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800143 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 Dougherty5748bc42016-02-06 18:24:32 -0800145</p>
David Friedmana18c41a2016-03-03 18:26:29 -0800146
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800147<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800148 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 Dougherty5748bc42016-02-06 18:24:32 -0800152
Dirk Doughertya6495a922016-03-04 15:21:59 -0800153<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 Dougherty5748bc42016-02-06 18:24:32 -0800161
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800162<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800163 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 Solovay2d66b2352016-03-08 15:55:14 -0800173 &mdash; 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 Doughertya6495a922016-03-04 15:21:59 -0800175</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 Dougherty5748bc42016-02-06 18:24:32 -0800192</p>
193
194<p>
David Friedmana18c41a2016-03-03 18:26:29 -0800195 As you test and develop on Android N, we strongly recommend <strong>keeping
Dirk Doughertya6495a922016-03-04 15:21:59 -0800196 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 Dougherty5748bc42016-02-06 18:24:32 -0800201</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800202
203<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800204 We’ll notify you when preview updates are available via the <a href=
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800205 "http://android-developers.blogspot.com/">Android Developers Blog</a>, as
David Friedman7254ae42016-03-09 00:34:33 -0800206 well as this site and the <a href="{@docRoot}preview/dev-community">Android
Dirk Doughertya6495a922016-03-04 15:21:59 -0800207 N Developer Community</a>.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800208</p>
209
Dirk Doughertya6495a922016-03-04 15:21:59 -0800210
211<h2 id="preview_tools">What's in the N Developer Preview?</h2>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800212
213<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800214 The N Developer Preview includes everything you need to test your existing
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800215 apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
216 and hardware architectures.
217</p>
218
Dirk Doughertya6495a922016-03-04 15:21:59 -0800219<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 Dougherty5748bc42016-02-06 18:24:32 -0800229
230<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800231 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 Doughertyb8907292016-03-10 09:43:36 -0800237 The N Developer Preview includes Nexus and other hardware system images that you can use when
Andrew Solovay8e0a0e62016-03-08 17:12:30 -0800238 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 Doughertya6495a922016-03-04 15:21:59 -0800241</p>
242
243<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800244 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 Dougherty5748bc42016-02-06 18:24:32 -0800249</p>
250
Dirk Doughertya6495a922016-03-04 15:21:59 -0800251<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 &mdash; see details in the next section.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800255</p>
256
Dirk Doughertya6495a922016-03-04 15:21:59 -0800257<h3 id="android_beta">OTA Updates through Android Beta Program</h3>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800258
259<p>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800260 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 Solovay2d66b2352016-03-08 15:55:14 -0800267 To enroll in the program visit the <a href="https://g.co/androidbeta">Android
268 Beta Program</a> site. You’ll
Dirk Doughertya6495a922016-03-04 15:21:59 -0800269 see all of the devices registered to your account that are eligible to enroll
270 in Android Beta.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800271</p>
272
273<ol>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800274 <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 Dougherty5748bc42016-02-06 18:24:32 -0800277
Dirk Doughertya6495a922016-03-04 15:21:59 -0800278<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 Dougherty5748bc42016-02-06 18:24:32 -0800284
Dirk Doughertya6495a922016-03-04 15:21:59 -0800285<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 Dougherty5748bc42016-02-06 18:24:32 -0800290
Dirk Doughertya6495a922016-03-04 15:21:59 -0800291<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 Dougherty5748bc42016-02-06 18:24:32 -0800295
Dirk Doughertya6495a922016-03-04 15:21:59 -0800296<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 Solovay2d66b2352016-03-08 15:55:14 -0800302 <p class="note"><strong>Note</strong>:
Dirk Doughertya6495a922016-03-04 15:21:59 -0800303 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&nbsp;N:
316</p>
317
318<ul>
David Friedmanfffa8ac2016-03-07 22:13:29 -0800319 <li> <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for
320Android N</a> has
Dirk Doughertya6495a922016-03-04 15:21:59 -0800321 step-by-step instructions for getting started.</li>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800322 <li> <a href="{@docRoot}preview/behavior-changes.html">Behavior
323 Changes</a> points you to key areas to test.</li>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800324 <li> Documentation of new APIs, including an <a
325 href="{@docRoot}preview/api-overview.html">API Overview</a>, downloadable
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800326 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API
Dirk Doughertye2a06122016-03-27 17:54:45 -0700327 Reference</a>, and detailed developer guides on key features such as
328 multi-window support, bundled notifications, multi-locale support, and others.
Dirk Doughertya6495a922016-03-04 15:21:59 -0800329 <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 Solovay2d66b2352016-03-08 15:55:14 -0800339 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 Doughertya6495a922016-03-04 15:21:59 -0800342 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 Friedman7254ae42016-03-09 00:34:33 -0800364 issues, and general feedback through the issue tracker. You can also check for
365<a href="{@docRoot}preview/bug">known issues</a> and
Dirk Doughertya6495a922016-03-04 15:21:59 -0800366 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 Friedman7254ae42016-03-09 00:34:33 -0800368 <li> The <a href="{@docRoot}preview/dev-community">Android N Developer Community</a> is
Dirk Doughertya6495a922016-03-04 15:21:59 -0800369 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 Solovay2d66b2352016-03-08 15:55:14 -0800383 "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code>
Dirk Doughertya6495a922016-03-04 15:21:59 -0800384 to <code>“N”</code>.
385</p>
386
387<p>
388 The Android N Developer Preview delivers <strong>preview APIs</strong>
389 &mdash; 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 Doughertycf65e4842016-03-07 22:31:57 -0800407 distribute an app targeting Android N to testers, you can do so via email or
Dirk Doughertya6495a922016-03-04 15:21:59 -0800408 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 Solovay2d66b2352016-03-08 15:55:14 -0800428 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 Doughertya6495a922016-03-04 15:21:59 -0800431 <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 Solovay8e0a0e62016-03-08 17:12:30 -0800435 instructions</a> to flash the latest Android N system image for your device. </li>
Andrew Solovay2d66b2352016-03-08 15:55:14 -0800436 <li> Review the <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>
David Friedmanfffa8ac2016-03-07 22:13:29 -0800437 and <a href="{@docRoot}preview/samples.html">Android N samples</a> to gain more
Dirk Doughertya6495a922016-03-04 15:21:59 -0800438 insight into new API features and how to use them in your app.
David Friedman7254ae42016-03-09 00:34:33 -0800439 <li> Join the <a href="{@docRoot}preview/dev-community">Android N
Dirk Doughertya6495a922016-03-04 15:21:59 -0800440 Developer Community</a> to get the latest news and connect with other
441 developers working with the new platform.</li>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800442</ol>
443
444<p>
David Friedmana18c41a2016-03-03 18:26:29 -0800445 Thank you for your participation in the Android N Developer Preview program!
David Friedmanfffa8ac2016-03-07 22:13:29 -0800446</p>