1 page.title= 2 page.image=images/cards/card-download_16-9_2x.png 3 4 @jd:body 5 6 <div style="position:relative; min-height:600px"> 7 8 <div class="wrap" id="tos" style="position:absolute;display:none;width:inherit;"> 9 10 <p class="sdk-terms-intro"> Android SDK 11 </p> 12 13 <h2 class="norule"></h2> 14 15 <div class="sdk-terms" onfocus="this.blur()" style="width:678px"> 16 Android SDK 17 18 1. 19 20 1.1 Android SDK Android API Google 21 22 1.2 Android Android http://source.android.com/ Android 23 24 1.3 Google Google Inc.1600 Amphitheatre Parkway, Mountain View, CA 94043, United States 25 26 2. 27 28 2.1 29 30 2.2 / 31 32 2.3 // 33 34 2.4 35 36 3. Google 37 38 3.1 Google Android 39 40 3.2 Google Google 41 42 3.3 (a) (b) 43 44 3.4 Android 45 46 3.5 47 48 3.6 Google Google 49 50 3.7 Google 51 52 3.8 53 54 4. 55 56 4.1 Google Google 57 58 4.2 (a) (b) // 59 60 4.3 Google Google 61 62 4.4 Google Activity 63 64 4.5 Android / Android Google Google 65 66 4.6 Google Google 67 68 4.7 Android SDK 69 70 5. 71 72 5.1 Google 73 74 6. 75 76 6.1 Google IP / 77 78 6.2 Google http://www.google.com/policies/privacy/ 79 80 7. 81 82 7.1 Google Google 83 84 7.2 85 86 7.3 87 88 8. Google API 89 90 8.1 Google API 91 92 8.1.1 API Google Google API 93 94 8.1.2 API Google 95 96 9. 97 98 9.1 Google 99 100 9.2 101 102 9.3 Google 103 104 9.4 105 (A) Google / 106 (B) Google Android SDK 107 108 9.5 101112 14 109 110 10. 111 112 10.1 Google 113 114 10.2 115 116 10.3 Google 117 118 11. 119 120 11.1 Google Google 121 122 12. 123 124 12.1 Google(a) (b) (c) 125 126 13. 127 128 13.1 Google Google 129 130 14. 131 132 14.1 Google Google Google 133 134 14.2 Google Google Google Google 135 136 14.3 137 138 14.4 Google 139 140 14.5 141 142 14.6 Google Google 143 144 14.7 Google Google Google 145 </div><!-- sdk terms --> 146 147 148 149 <div id="sdk-terms-form"> 150 <p> 151 <input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> 152 <label id="agreeLabel" for="agree"></label> 153 </p> 154 <p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> 155 </div> 156 157 158 </div><!-- end TOS --> 159 160 161 <div id="landing"> 162 163 <div id="qv-wrapper"> 164 <div id="qv"> 165 <h2></h2> 166 <ol> 167 <li><a href="#sdk"> SDK</a></li> 168 <li><a href="#docs"></a></li> 169 <li><a href="#images"></a></li> 170 </ol> 171 <h2>Legacy downloads</h2> 172 <ol> 173 <li><a href="{@docRoot}preview/download_mp1.html">Developer Preview Archive</a></li> 174 </ol> 175 </div> 176 </div> 177 178 179 <p> 180 Android M SDK Android API 181 182 183 </p> 184 185 186 <h2 id="sdk"> SDK</h2> 187 188 <p> 189 SDK <a href="{@docRoot}tools/help/sdk-manager.html">Android SDK </a> SDK <a href="{@docRoot}preview/setup-sdk.html#downloadSdk"> SDK</a> 190 191 </p> 192 193 194 <h2 id="docs"></h2> 195 196 <p> 197 API API 198 </p> 199 200 <table> 201 <tr> 202 <th scope="col">Description</th> 203 <th scope="col">Download / Checksums</th> 204 </tr> 205 <tr id="docs-dl"> 206 <td>Android M Preview 2<br>Developer Docs</td> 207 <td><a href="#top" onclick="onDownload(this)" 208 >m-preview-2-developer-docs.zip</a><br> 209 MD5: 1db6fff9c722b0339757e1cdf43663a8<br> 210 SHA-1: 5a4ae88d644e63824d21b0e18f8e3977a7665157 211 </td> 212 </tr> 213 </table> 214 215 216 <h2 id="images"></h2> 217 218 <p> 219 220 221 <em></em> 222 223 224 </p> 225 226 <p class="warning"> 227 <b></b> Android Android SDK 228 Android 229 230 Android 231 232 233 </p> 234 235 <table> 236 <tr> 237 <th scope="col">Device</th> 238 <th scope="col">Download / Checksums</th> 239 </tr> 240 <tr id="hammerhead"> 241 <td>Nexus 5 (GSM/LTE) <br>"hammerhead"</td> 242 <td><a href="#top" onclick="onDownload(this)" 243 >hammerhead-MPZ79M-preview-b1f4bde4.tgz</a><br> 244 MD5: 2ca9f18bf47a061b339bab52647ceb0d<br> 245 SHA-1: b1f4bde447eccbf8ce5d9b8b8ba954e3eac8e939 246 </td> 247 </tr> 248 <tr id="shamu"> 249 <td>Nexus 6 <br>"shamu"</td> 250 <td><a href="#top" onclick="onDownload(this)" 251 >shamu-MPZ79M-preview-e1024040.tgz</a><br> 252 MD5: 24a2118da340b9afedfbdfc026f6ff81<br> 253 SHA-1: e10240408859d5188c4aae140e1c539130ba614b 254 </td> 255 </tr> 256 <tr id="volantis"> 257 <td>Nexus 9 <br>"volantis"</td> 258 <td><a href="#top" onclick="onDownload(this)" 259 >volantis-MPZ79M-preview-9f305342.tgz</a><br> 260 MD5: 9edabf0a4c61b247f1cbb9dfdc0a899e<br> 261 SHA-1: 9f30534216f10899a6a75495fc7e92408ea333a7 262 </td> 263 </tr> 264 265 <tr id="fugu"> 266 <td>Nexus Player <br>"fugu"</td> 267 <td><a href="#top" onclick="onDownload(this)" 268 >fugu-MPZ79N-preview-fb63af98.tgz</a><br> 269 MD5: e8d081137a20b66df595ee69523314b5<br> 270 SHA-1: fb63af98302dd97be8de9313734d389ccdcce250 271 </td> 272 </tr> 273 274 </table> 275 276 <h3 id="install-image"></h3> 277 278 <p> 279 280 281 </p> 282 283 <ol> 284 <li></li> 285 <li></li> 286 <li> 287 <a href="https://developers.google.com/android/nexus/images#instructions">developers.google.com/android</a> 288 </li> 289 </ol> 290 291 <p class="note"> 292 <strong></strong> (OTA) 293 294 </p> 295 296 <h3 id="revertDevice"></h3> 297 298 <p> 299 300 <a href="http://developers.google.com/android/nexus/images">developers.google.com/android</a> 301 302 303 </p> 304 305 </div><!-- landing --> 306 307 </div><!-- relative wrapper --> 308 309 310 311 <script> 312 var urlRoot = "http://storage.googleapis.com/androiddevelopers/shareables/preview/"; 313 function onDownload(link) { 314 315 $("#downloadForRealz").html("Download " + $(link).text()); 316 $("#downloadForRealz").attr('href', urlRoot + $(link).text()); 317 318 $("#tos").fadeIn('fast'); 319 $("#landing").fadeOut('fast'); 320 321 return true; 322 } 323 324 325 function onAgreeChecked() { 326 /* verify that the TOS is agreed */ 327 if ($("input#agree").is(":checked")) { 328 /* reveal the download button */ 329 $("a#downloadForRealz").removeClass('disabled'); 330 } else { 331 $("a#downloadForRealz").addClass('disabled'); 332 } 333 } 334 335 function onDownloadForRealz(link) { 336 if ($("input#agree").is(':checked')) { 337 /* 338 $("#tos").fadeOut('fast'); 339 $("#landing").fadeIn('fast'); 340 */ 341 342 ga('send', 'event', 'M Preview', 'System Image', $("#downloadForRealz").html()); 343 344 /* 345 location.hash = ""; 346 */ 347 return true; 348 } else { 349 return false; 350 } 351 } 352 353 $(window).hashchange( function(){ 354 if (location.hash == "") { 355 location.reload(); 356 } 357 }); 358 359 </script> 360