blob: 009e268a754c043b6771513be06fced85bcd3c41 [file] [log] [blame]
Dirk Doughertyc85bf852015-05-24 19:56:35 -07001page.title=Program Overview
2page.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.
Dirk Dougherty74709452015-05-15 00:51:24 -07003page.image=images/cards/card-preview_16-9_2x.png
Dirk Doughertyc85bf852015-05-24 19:56:35 -07004page.tags="preview", "developer", "android"
Joe Fernandeze7866882015-05-06 17:15:03 -07005
6@jd:body
7
David Friedman6fb22b42015-07-09 16:00:38 -07008<div class="cols" style=
9"background-color:#ffebc3; padding: 5px 0;margin-bottom:1em; text-align:center;">
10<h3>
11 Developer Preview 2 is now available
12 </h3>
13
14 <ul class="dac-section-links">
15 <li class="dac-section-link">
David Friedman48143e62015-07-10 11:41:02 -070016 <a href="{@docRoot}preview/support.html#preview2-notes">
David Friedman6fb22b42015-07-09 16:00:38 -070017 <span class="dac-sprite dac-auto-chevron"></span>
18 Read the Notes</a>
19 </li>
20
21 <li class="dac-section-link">
David Friedman48143e62015-07-10 11:41:02 -070022 <a href="{@docRoot}preview/support.html#preview2-get">
David Friedman6fb22b42015-07-09 16:00:38 -070023 <span class="dac-sprite dac-auto-chevron"></span>
24 Get the Update</a>
25 </li>
26
27 <li class="dac-section-link">
28 <a href="https://code.google.com/p/android-developer-preview/">
29 <span class="dac-sprite dac-auto-chevron"></span>
30 Report Issues</a>
31 </li>
32 </ul>
33</div>
34
Joe Fernandeze7866882015-05-06 17:15:03 -070035<p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -070036 Welcome to the <strong>Android M Developer Preview</strong>, a program that gives you
37 everything you need to test and optimize your apps for the next version of
38 Android. It's free, and you can get started right away just by downloading
39 the M Developer Preview tools.
Joe Fernandezd575b1c2015-05-08 17:16:27 -070040</p>
41
Dirk Doughertyc85bf852015-05-24 19:56:35 -070042<div style="background-color:#eceff1;padding:1em;">
43<div class="wrap">
44 <div class="cols">
45 <div class="col-4of12">
46 <h5>
47 Hardware and emulator system images
48 </h5>
49
50 <p>
51 Run and test your apps on Nexus 5, 6, 9, and Player (for TV), as well
52 as emulator.
53 </p>
54 </div>
55
56 <div class="col-4of12">
57 <h5>
58 Latest platform code
59 </h5>
60
61 <p>
62 We’ll provide multiple updates during the Preview, so you’ll be testing
63 against the latest platform changes.
64 </p>
65 </div>
66
67 <div class="col-4of12">
68 <h5>
69 Updates delivered by OTA
70 </h5>
71
72 <p>
Dirk Doughertyae70b692015-05-27 16:58:46 -070073 You can get updates over-the-air, once you’ve flashed a
Dirk Doughertyc85bf852015-05-24 19:56:35 -070074 device to the initial preview.
75 </p>
76 </div>
77 </div>
78
79 <div class="cols">
80
Dirk Doughertyc85bf852015-05-24 19:56:35 -070081
82 <div class="col-4of12">
83 <h5>
84 New behaviors and capabilities
85 </h5>
86
87 <p>
88 Start work early to support new platform behaviors such as
89 the new runtime permissions model and power-saving features.
90 </p>
91 </div>
92
93 <div class="col-4of12">
94 <h5>
95 Priority window for developer-reported issues
96 </h5>
97
98 <p>
99 During the first several weeks we’ll give priority to developer-reported
100 issues, so test and give feedback as soon as possible.
101 </p>
102 </div>
103
104 <div class="col-4of12">
105 <h5>
Dirk Doughertyae70b692015-05-27 16:58:46 -0700106 Feedback and support
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700107 </h5>
108
109 <p>
110 Report issues and give us feedback using our <a href=
111 "https://code.google.com/p/android-developer-preview/">issue tracker</a>.
112 Connect with other developers in the <a
113 href="http://g.co/dev/AndroidMDevPreview">M&nbsp;Developer Community</a>.
Dirk Doughertyae70b692015-05-27 16:58:46 -0700114
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700115 </p>
116 </div>
117 </div>
118</div>
119</div>
120
121<!--
122<p>
123 With the M Developer Preview, you'll get an early start on testing your apps,
124 with enough time to make adjustments before the public platform release later
125 in the year. We'll provide several updates to the Preview tools in the weeks
126 ahead, so you can keep in sync with the latest changes as the platform moves
127 toward launch.
128</p>
129<img src="{@docRoot}preview/images/m-preview-timeline.png" alt=
130"Preview program timeline" id="timeline">
131<p>
132 You can help us improve the platform by <a href=
133 "https://code.google.com/p/android-developer-preview/">reporting issues</a>
134 through our feedback channels. This is especially
135 critical in the first month of the preview, when we’ll be giving priority to
136 developer-reported issues and feedback.
137</p> -->
138
139
140<h2 id="timeline">
141 Timeline and updates
142</h2>
143<img src="{@docRoot}preview/images/m-preview-timeline-crop.png" alt=
144"Preview program timeline" id="timeline">
145<p>
Dirk Dougherty8c110252015-05-29 16:45:15 -0700146 The M Developer Preview runs from May 28 until the final Android M SDK, which
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700147 we’ll release shortly before the public release during Q3
Luan Nguyen17e46062015-05-28 10:42:26 -0700148 2015.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700149</p>
150
151<p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700152 At key development milestones, we’ll deliver updates for your test devices.
153 The tentative milestones are
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700154</p>
155
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700156<ul>
157 <li>
David Friedman6fb22b42015-07-09 16:00:38 -0700158 <strong><a href="{@docRoot}preview/download_mp1.html">Preview&nbsp;1</a></strong> (available).
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700159 </li>
160
161 <li>
David Friedman6fb22b42015-07-09 16:00:38 -0700162 <strong><a href="{@docRoot}preview/download.html">Preview&nbsp;2</a></strong> (available).
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700163 </li>
164
165 <li>
David Friedman6fb22b42015-07-09 16:00:38 -0700166 <strong>Preview&nbsp;3</strong> (near final, late July).
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700167 </li>
168</ul>
169
170<p>
171 These updates culminate in the <strong>final SDK</strong> (later in Q3),
172 which delivers the official APIs for the new version of Android, as well
173 as the final system behaviors and features.
174</p>
175
176<p>
177 As you test and develop on Android M, we strongly recommend <strong>keeping
178 your development environment up-to-date</strong> as Preview updates are released.
Dirk Doughertyae70b692015-05-27 16:58:46 -0700179 To make the process easier, we'll deliver <strong>updates over-the-air
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700180 (OTA)</strong> to devices already flashed to a Preview build, as well as
181 providing system images that you can download and flash manually.
182</p>
183<p class="note">
184 <strong>Note:</strong> The final SDK and system images can not be delivered
185 by OTA, but will instead need to be <strong>flashed manually</strong> to
186 your test devices.</strong>
187</p>
188
189<p>
190 Well notify you when Preview updates are available via the <a href=
191 "http://android-developers.blogspot.com/">Android Developers Blog</a>, as
192 well as this site and the
193 <a href="http://g.co/dev/AndroidMDevPreview">Android M Developer Community</a>.
194</p>
195
196<h2 id="preview_tools">
197 Whats in the Preview?
198</h2>
199
200<p>
201 The M Developer Preview includes everything you need to test your existing
202 apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
203 and hardware architectures.
204</p>
205
206<h4>
207 SDK tools
208</h4>
209
210<p>
211 You can download these components through the SDK Manager in <a href=
212 "{@docRoot}sdk/installing/adding-packages.html">Android Studio</a>:
213</p>
214
215<ul>
216 <li>M Developer Preview <strong>SDK tools</strong>
217 </li>
218
219 <li>M Developer Preview <strong>emulator system image</strong> (32-bit &amp;
220 64-bit)
221 </li>
222
223 <li>M Developer Preview <strong>emulator system Image for Android TV</strong>
224 (32-bit)
225 </li>
226</ul>
227
228<h4>
229 Hardware system images
230</h4>
231
232<p>
233 You can download these hardware system images for Nexus devices from the
Luan Nguyen17e46062015-05-28 10:42:26 -0700234 <a href="download.html">Downloads page</a>:
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700235</p>
236
237<ul>
238 <li>
239 <strong>Nexus 5</strong> (GSM/LTE) hammerhead device system image
240 </li>
241
242 <li>
243 <strong>Nexus 6</strong> shamu device system image
244 </li>
245
246 <li>
247 <strong>Nexus 9</strong> (Wi-Fi) volantis device system image
248 </li>
249
250 <li>
251 <strong>Nexus Player</strong> (Android TV) fugu device system image
252 </li>
253</ul>
254
255<h4>
256 Documentation and sample code
257</h4>
258
259<p>
260 These documentation resources help you learn about the Preview:
261</p>
262
263<ul>
264 <li>
265 <a href="setup-sdk.html">Set Up the SDK</a> has step-by-step instructions
266 for getting started.
267 </li>
268
269 <li>
Luan Nguyen17e46062015-05-28 10:42:26 -0700270 <a href="{@docRoot}preview/testing/guide.html">Testing Guide</a> and <a href=
271 "behavior-changes.html">Behavior Changes</a> point you to key areas to test.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700272 </li>
273
274 <li>Documentation of new APIs, including an <a href="api-overview.html">API Overview</a>,
Luan Nguyen17e46062015-05-28 10:42:26 -0700275 downloadable <a href="{@docRoot}preview/download.html#docs">API Reference</a>, and detailed developer guides on
276 key features such as
277 <a href="{@docRoot}preview/features/runtime-permissions.html">permissions</a>,
278 <a href="{@docRoot}preview/backup/index.html">app backup</a>, and others.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700279 </li>
280
281 <li>
Luan Nguyen17e46062015-05-28 10:42:26 -0700282 <a href="{@docRoot}preview/samples.html">Sample code</a> that demonstrates how to support
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700283 permissions and other new features.
284 </li>
285
286 <li>
Luan Nguyen17e46062015-05-28 10:42:26 -0700287 <a href="{@docRoot}preview/support.html#release-notes">Release notes</a> for the current version
288 of the M Developer Preview, including change notes and diff reports.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700289 </li>
290</ul>
291
292<h4>
293 Support resources
294</h4>
295
296<p>
297 Use these support resources as you test and develop on the M
298 Developer Preview:
299</p>
300
301<ul>
302 <li><a href="https://code.google.com/p/android-developer-preview/">M
303 Developer Preview Issue Tracker</a> is your <strong>primary feedback
304 channel.</strong> You can report bugs, performance issues, and general
Dirk Doughertyae70b692015-05-27 16:58:46 -0700305 feedback through the issue tracker. You can also check for <a
306 href="https://code.google.com/p/android-developer-preview/wiki/KnownIssues">known issues</a>
307 and find workaround steps.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700308 </li>
309
310 <li>The <a href="http://g.co/dev/AndroidMDevPreview">Android M Developer
311 Community</a> is a Google+ community where you can <strong>connect with
312 other developers</strong> working with Android M. You can share
313 observations or ideas or find answers to questions about Android M.
314 </li>
315</ul>
316
317
318<h2 id="preview_apis_and_publishing">
319 Targeting, preview APIs, and publishing
320</h2>
321
322<p>
323 The Android M Developer Preview is a development-only release and
324 <strong>does not have a standard API level</strong>. If you want to opt out
325 of compatibility behaviors to test your app (which is strongly recommended),
326 you can target the M Developer Preview by setting your app's <code><a href=
327 "/guide/topics/manifest/uses-sdk-element.html">targetSdkVersion</a></code>
328 to <code>“MNC”</code>.
329</p>
330
331<p>
332 The Android M Developer Preview delivers <strong>preview APIs</strong>
333 &mdash; the APIs will not be official until the final SDK is released,
334 currently planned for the third quarter of 2015. This means that you can
335 <strong>expect minor API changes</strong> over time, especially during
336 initial weeks of the program. We’ll provide a summary of changes to you with
337 each update of the Android M Developer Preview.
338</p>
339
340<p class="note">
341 Note that although preview APIs may change, underlying system behaviors such
342 as runtime permissions and power-saving features are stable and ready for
343 testing right away.
344</p>
345
346<p>
347 In terms of publishing, Google Play <strong>prevents publishing of apps
348 targeting the M Developer Preview</strong>. When the Android M final SDK is
349 available, you’ll be able to target the official Android M API level and
350 publish your app to Google Play. Meanwhile, if you want to distribute an app
351 targeting Android M to testers, you can do so via email or by direct download
352 from your site.
353</p>
354
355<h2 id="get_started">
Dirk Dougherty8c110252015-05-29 16:45:15 -0700356 How to get started
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700357</h2>
358
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700359<p>
360 To get started testing your app:
361</p>
362
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700363<ol>
364 <li>Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a>
Luan Nguyen17e46062015-05-28 10:42:26 -0700365 and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to get an
Dirk Dougherty8c110252015-05-29 16:45:15 -0700366 idea of what's new and how it affects your apps. In particular, learn about
367 the new <a href="{@docRoot}preview/features/runtime-permissions.html">runtime
368 permissions</a> model, power-saving features, and auto backup.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700369 </li>
370
Dirk Dougherty8c110252015-05-29 16:45:15 -0700371 <li>Set up your environment by following the instructions for
Joe Fernandezee143ce2015-05-21 21:08:41 -0700372 <a href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a>
373 and configuring test devices.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700374 </li>
375
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700376 <li>Follow the <a href="https://developers.google.com/android/nexus/images">
377 flashing instructions</a> to flash the latest M developer preview system image
378 for Nexus 5, 6, 9, and Player. Once you've flashed your development device,
379 Preview updates will be delivered through over-the-air (OTA) updates.</a>
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700380 </li>
381
Luan Nguyen17e46062015-05-28 10:42:26 -0700382 <li>Download the <a href="{@docRoot}preview/download.html#docs">M Preview API
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700383 Reference</a> and <a href="{@docRoot}preview/samples.html">M Preview
384 samples</a> to gain more insight into new API features and how to use them in
385 your app.
Joe Fernandezee143ce2015-05-21 21:08:41 -0700386 </li>
387
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700388 <li>Join the <a href="http://g.co/dev/AndroidMDevPreview">Android M
389 Developer Community</a> to get the latest news and connect with other
390 developers working with the new platform.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700391 </li>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700392</ol>
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700393
394<p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700395 Thank you for your participation in the Android M Developer Preview program!
Rich Slogar962146f2015-05-27 17:43:50 -0700396</p>