blob: decfd26acf1c5e3e6c1daca6ea3703a512fb9ca5 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
Scott Maine05e6f92013-01-29 13:34:17 -08003<html<?cs if:devsite ?> devsite<?cs /if ?>>
The Android Open Source Project88b60792009-03-03 19:28:42 -08004<?cs if:sdk.redirect ?>
5 <head>
6 <title>Redirecting...</title>
Scott Maincc089092011-01-17 16:44:10 -08007 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
8 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
Dirk Doughertye1233852010-03-03 14:34:51 -08009 else ?>index.html<?cs /if ?>">
The Android Open Source Project88b60792009-03-03 19:28:42 -080010 </head>
11<?cs else ?>
12 <?cs include:"head_tag.cs" ?>
13<?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070014<body class="gc-documentation
15 <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
16 elif:design ?>design<?cs
17 elif:distribute ?>distribute<?cs
18 /if ?>" itemscope itemtype="http://schema.org/CreativeWork">
19 <a name="top"></a>
20<?cs include:"header.cs" ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080021
Scott Maine4d8f1b2012-06-21 18:03:05 -070022
23<div <?cs if:fullpage
24?><?cs else
25?>class="col-13" id="doc-col"<?cs /if ?> >
The Android Open Source Project88b60792009-03-03 19:28:42 -080026
The Android Open Source Project88b60792009-03-03 19:28:42 -080027<?cs if:sdk.redirect ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070028
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070029<div class="g-unit">
30 <div id="jd-content">
Scott Maincc089092011-01-17 16:44:10 -080031 <p>Redirecting to
32 <a href="<?cs var:toroot ?>sdk/<?cs
Scott Mainb66a5c02010-07-08 11:29:28 -070033 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
34 else ?>index.html<?cs /if ?>"><?cs
35 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
36 else ?>Download the SDK<?cs /if ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070037 </a> ...</p>
Scott Maincc089092011-01-17 16:44:10 -080038
The Android Open Source Project88b60792009-03-03 19:28:42 -080039<?cs else ?>
Scott Maincc089092011-01-17 16:44:10 -080040<?cs # else, if NOT redirect ...
41#
42#
43# The following is for SDK/NDK pages
44#
45#
46?>
47
Scott Maine4d8f1b2012-06-21 18:03:05 -070048<?cs if:header.hide ?><?cs else ?>
49<h1 itemprop="name"><?cs var:page.title ?></h1>
50<?cs /if ?>
Scott Main3652a112012-01-30 13:03:08 -080051 <div id="jd-content" itemprop="description">
The Android Open Source Project88b60792009-03-03 19:28:42 -080052
53<?cs if:sdk.not_latest_version ?>
54 <div class="special">
55 <p><strong>This is NOT the current Android SDK release.</strong></p>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070056 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080057 </div>
58<?cs /if ?>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070059
The Android Open Source Project88b60792009-03-03 19:28:42 -080060
Scott Maincc089092011-01-17 16:44:10 -080061<?cs if:ndk ?>
62<?cs #
63#
64#
65#
66#
67#
68#
69# the following is for the NDK
70#
71# (nested in if/else redirect)
72#
73#
74#
75#
76?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080077
Scott Main25659b02012-06-22 17:02:25 -070078 <table class="download" id="download-table">
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070079 <tr>
80 <th>Platform</th>
81 <th>Package</th>
82 <th>Size</th>
83 <th>MD5 Checksum</th>
84 </tr>
85 <tr>
86 <td>Windows</td>
87 <td>
Scott Main098d8de2012-11-13 11:25:06 -080088 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -070089 href="http://dl.google.com/android/ndk/<?cs var:ndk.win_download ?>"><?cs var:ndk.win_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070090 </td>
91 <td><?cs var:ndk.win_bytes ?> bytes</td>
92 <td><?cs var:ndk.win_checksum ?></td>
93 </tr>
Scott Main11ac05b2012-11-15 14:57:44 -080094 <tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070095 <td>Mac OS X (intel)</td>
96 <td>
Scott Main098d8de2012-11-13 11:25:06 -080097 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -070098 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac_download ?>"><?cs var:ndk.mac_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070099 </td>
100 <td><?cs var:ndk.mac_bytes ?> bytes</td>
101 <td><?cs var:ndk.mac_checksum ?></td>
102 </tr>
103 <tr>
Dirk Doughertye6be85f2009-06-24 11:01:03 -0700104 <td>Linux 32/64-bit (x86)</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700105 <td>
Scott Main098d8de2012-11-13 11:25:06 -0800106 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -0700107 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux_download ?>"><?cs var:ndk.linux_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700108 </td>
109 <td><?cs var:ndk.linux_bytes ?> bytes</td>
110 <td><?cs var:ndk.linux_checksum ?></td>
111 </tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700112 </table>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700113
114 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
115 <?cs call:tag_list(root.descr) ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700116
Scott Main098d8de2012-11-13 11:25:06 -0800117
118
119<script>
120 function onDownload(link) {
121
122 $("#downloadForRealz").html("Download " + $(link).text());
123 $("#downloadForRealz").attr('href',$(link).attr('href'));
124
125 $("#tos").fadeIn('slow');
126
127 location.hash = "download";
128 return false;
129 }
130
131
132 function onAgreeChecked() {
133 if ($("input#agree").is(":checked")) {
134 $("a#downloadForRealz").removeClass('disabled');
135 } else {
136 $("a#downloadForRealz").addClass('disabled');
137 }
138 }
139
140 function onDownloadNdkForRealz(link) {
141 if ($("input#agree").is(':checked')) {
142 $("#tos").fadeOut('slow');
143
144 $('html, body').animate({
145 scrollTop: $("#Installing").offset().top
146 }, 800, function() {
147 $("#Installing").click();
148 });
149
150 return true;
151 } else {
152 $("label#agreeLabel").parent().stop().animate({color: "#258AAF"}, 200,
153 function() {$("label#agreeLabel").parent().stop().animate({color: "#222"}, 200)}
154 );
155 return false;
156 }
157 }
158
159 $(window).hashchange( function(){
160 if (location.hash == "") {
161 location.reload();
162 }
163 });
164
165</script>
166
Scott Maincc089092011-01-17 16:44:10 -0800167 <?cs else ?>
168<?cs # end if NDK ...
169#
170#
171#
172#
173#
174#
175# the following is for the SDK
176#
177# (nested in if/else redirect and if/else NDK)
178#
179#
180#
181#
182?>
Scott Mainb73777e2010-11-22 15:02:01 -0800183 <?cs if:android.whichdoc == "online" ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700184
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800185
Scott Maine4d8f1b2012-06-21 18:03:05 -0700186<?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
187<?cs call:tag_list(root.descr) ?>
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800188
Scott Maindb3678b2012-10-23 14:13:41 -0700189
190
191
Scott Main55d99832012-11-12 23:03:59 -0800192<h4><a href='' class="expandable"
193 onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;"
194 >DOWNLOAD FOR OTHER PLATFORMS</a></h4>
195
196
197<div class="pax col-13 online" style="display:none;margin:0;">
Scott Maindb3678b2012-10-23 14:13:41 -0700198
Scott Main55d99832012-11-12 23:03:59 -0800199
Scott Maindb3678b2012-10-23 14:13:41 -0700200<p class="table-caption"><strong>ADT Bundle</strong></p>
201 <table class="download">
202 <tr>
203 <th>Platform</th>
204 <th>Package</th>
205 <th>Size</th>
206 <th>MD5 Checksum</th>
207 </tr>
208 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800209 <td>Windows 32-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700210 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800211 <a onClick="return onDownload(this)" id="win-bundle32"
212 href="http://dl.google.com/android/adt/<?cs var:sdk.win32_bundle_download ?>"><?cs var:sdk.win32_bundle_download ?></a>
Scott Maindb3678b2012-10-23 14:13:41 -0700213 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800214 <td><?cs var:sdk.win32_bundle_bytes ?> bytes</td>
215 <td><?cs var:sdk.win32_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700216 </tr>
217 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800218 <td>Windows 64-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700219 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800220 <a onClick="return onDownload(this)" id="win-bundle64"
221 href="http://dl.google.com/android/adt/<?cs var:sdk.win64_bundle_download ?>"><?cs var:sdk.win64_bundle_download ?></a>
Scott Maindb3678b2012-10-23 14:13:41 -0700222 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800223 <td><?cs var:sdk.win64_bundle_bytes ?> bytes</td>
224 <td><?cs var:sdk.win64_bundle_checksum ?></td>
225 </tr>
226 <tr>
227 <td><nobr>Mac OS X 64-bit</nobr></td>
228 <td>
229 <a onClick="return onDownload(this)" id="mac-bundle64"
230 href="http://dl.google.com/android/adt/<?cs var:sdk.mac64_bundle_download ?>"><?cs var:sdk.mac64_bundle_download ?></a>
231 </td>
232 <td><?cs var:sdk.mac64_bundle_bytes ?> bytes</td>
233 <td><?cs var:sdk.mac64_bundle_checksum ?></td>
234 </tr>
235 <tr>
236 <td>Linux 32-bit</td>
237 <td>
238 <a onClick="return onDownload(this)" id="linux-bundle32"
239 href="http://dl.google.com/android/adt/<?cs var:sdk.linux32_bundle_download ?>"><?cs var:sdk.linux32_bundle_download ?></a>
240 </td>
241 <td><?cs var:sdk.linux32_bundle_bytes ?> bytes</td>
242 <td><?cs var:sdk.linux32_bundle_checksum ?></td>
243 </tr>
244 <tr>
245 <td>Linux 64-bit</td>
246 <td>
247 <a onClick="return onDownload(this)" id="linux-bundle64"
248 href="http://dl.google.com/android/adt/<?cs var:sdk.linux64_bundle_download ?>"><?cs var:sdk.linux64_bundle_download ?></a>
249 </td>
250 <td><?cs var:sdk.linux64_bundle_bytes ?> bytes</td>
251 <td><?cs var:sdk.linux64_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700252 </tr>
253 </table>
254
255
256<p class="table-caption"><strong>SDK Tools Only</strong></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800257 <table class="download">
258 <tr>
259 <th>Platform</th>
260 <th>Package</th>
261 <th>Size</th>
262 <th>MD5 Checksum</th>
263 </tr>
264 <tr>
Scott Maincc089092011-01-17 16:44:10 -0800265 <td rowspan="2">Windows</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800266 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700267 <a onclick="return onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
Scott Maina1b358a2010-06-24 16:36:54 -0700268?>"><?cs var:sdk.win_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800269 </td>
270 <td><?cs var:sdk.win_bytes ?> bytes</td>
271 <td><?cs var:sdk.win_checksum ?></td>
272 </tr>
Scott Maincc089092011-01-17 16:44:10 -0800273 <tr>
274 <!-- blank TD from Windows rowspan -->
275 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700276 <a onclick="return onDownload(this)" id="win-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700277var:sdk.win_installer
Scott Maincc089092011-01-17 16:44:10 -0800278?>"><?cs var:sdk.win_installer ?></a> (Recommended)
279 </td>
280 <td><?cs var:sdk.win_installer_bytes ?> bytes</td>
281 <td><?cs var:sdk.win_installer_checksum ?></td>
282 </tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800283 <tr>
284 <td>Mac OS X</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800285 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700286 <a onclick="return onDownload(this)" id="mac-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700287var:sdk.mac_download
Scott Maina1b358a2010-06-24 16:36:54 -0700288?>"><?cs var:sdk.mac_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800289 </td>
290 <td><?cs var:sdk.mac_bytes ?> bytes</td>
291 <td><?cs var:sdk.mac_checksum ?></td>
292 </tr>
293 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800294 <td>Linux</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800295 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700296 <a onclick="return onDownload(this)" id="linux-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700297var:sdk.linux_download
Scott Maina1b358a2010-06-24 16:36:54 -0700298?>"><?cs var:sdk.linux_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800299 </td>
300 <td><?cs var:sdk.linux_bytes ?> bytes</td>
301 <td><?cs var:sdk.linux_checksum ?></td>
302 </tr>
303 </table>
Scott Maindb3678b2012-10-23 14:13:41 -0700304
Scott Main55d99832012-11-12 23:03:59 -0800305</div><!-- end pax -->
Scott Maindb3678b2012-10-23 14:13:41 -0700306
307
Scott Main55d99832012-11-12 23:03:59 -0800308
309</div><!-- end col-13 for lower-half content -->
Scott Maindb3678b2012-10-23 14:13:41 -0700310
311
Scott Maine4d8f1b2012-06-21 18:03:05 -0700312
313
314<script>
Scott Main55d99832012-11-12 23:03:59 -0800315 if (location.hash == "#Requirements") {
316 $('.reqs').show();
317 } else if (location.hash == "#ExistingIDE") {
318 $('.ide').show();
319 }
Scott Maindb3678b2012-10-23 14:13:41 -0700320
Scott Maine4d8f1b2012-06-21 18:03:05 -0700321 var os;
Scott Main11ac05b2012-11-15 14:57:44 -0800322 var bundlename;
Scott Maindb3678b2012-10-23 14:13:41 -0700323 var $toolslink;
324
Scott Maine4d8f1b2012-06-21 18:03:05 -0700325 if (navigator.appVersion.indexOf("Win")!=-1) {
326 os = "Windows";
Scott Main11ac05b2012-11-15 14:57:44 -0800327 bundlename = '#win-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700328 $toolslink = $('#win-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700329 } else if (navigator.appVersion.indexOf("Mac")!=-1) {
330 os = "Mac";
Scott Main11ac05b2012-11-15 14:57:44 -0800331 bundlename = '#mac-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700332 $toolslink = $('#mac-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700333 } else if (navigator.appVersion.indexOf("Linux")!=-1) {
334 os = "Linux";
Scott Main11ac05b2012-11-15 14:57:44 -0800335 bundlename = '#linux-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700336 $toolslink = $('#linux-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700337 }
The Android Open Source Project88b60792009-03-03 19:28:42 -0800338
Scott Maine4d8f1b2012-06-21 18:03:05 -0700339 if (os) {
Scott Mainf973ced2012-06-28 11:56:01 -0700340 $('#not-supported').hide();
Scott Maindb3678b2012-10-23 14:13:41 -0700341
342 /* set up primary adt download button */
343 $('#download-bundle-button').show();
344 $('#download-bundle-button').append("Download the SDK <br/><span class='small'>ADT Bundle for " + os + "</span>");
Scott Main11ac05b2012-11-15 14:57:44 -0800345 $('#download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename);
Scott Maindb3678b2012-10-23 14:13:41 -0700346
347 /* set up sdk tools only button */
348 $('#download-tools-button').show();
349 $('#download-tools-button').append("Download the SDK Tools for " + os);
Scott Main11ac05b2012-11-15 14:57:44 -0800350 $('#download-tools-button').click(function() {return onDownload(this,true);}).attr('href', $toolslink.attr('href'));
Scott Maine4d8f1b2012-06-21 18:03:05 -0700351 } else {
352 $('.pax').show();
Scott Maine4d8f1b2012-06-21 18:03:05 -0700353 }
Scott Main7c05b692012-11-14 14:12:29 -0800354
355
Scott Main11ac05b2012-11-15 14:57:44 -0800356 function onDownload(link, button, bundle) {
357
358 /* set text for download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700359 if (button) {
360 $("#downloadForRealz").html($(link).text());
361 } else {
362 $("#downloadForRealz").html("Download " + $(link).text());
Scott Main11ac05b2012-11-15 14:57:44 -0800363 }
364
365 /* if it's a bundle, show the 32/64-bit picker */
366 if (bundle) {
367 $("#downloadForRealz").attr('bundle','true');
368 if ($("#downloadForRealz").text().indexOf("Mac") == -1) {
369 $("p#bitpicker").show();
370 } else {
371 /* mac is always 64 bit, so set it checked */
372 $("p#bitpicker input[value=64]").attr('checked', true);
373 }
374 /* save link name until the bit version is chosen */
375 $("#downloadForRealz").attr('name',$(link).attr('href'));
376 } else {
377 /* if not using bundle, set download button to ignore bitpicker and set url */
378 $("#downloadForRealz").attr('bundle','false');
379 $("#downloadForRealz").attr('href',$(link).attr('href'));
380 /* set picker checked as a fake default */
381 $("p#bitpicker input[value=64]").attr('checked', true);
Scott Maindb3678b2012-10-23 14:13:41 -0700382 $("a#next-link").html("Setting Up an Existing IDE").attr('href',toRoot + 'sdk/installing/index.html');
383 }
Scott Maindb3678b2012-10-23 14:13:41 -0700384
385 $("#tos").fadeIn('fast');
386 $("#landing").fadeOut('fast');
387
388 location.hash = "download";
389 return false;
390 }
391
392
393 function onAgreeChecked() {
Scott Main11ac05b2012-11-15 14:57:44 -0800394 /* verify that the TOS is agreed and a bit version is chosen */
395 if ($("input#agree").is(":checked") && $("#bitpicker input:checked").length) {
396
397 /* if downloading the bundle */
398 if ($("#downloadForRealz").attr('bundle')) {
399 /* construct the name of the link we want based on the bit version */
400 linkId = $("a#downloadForRealz").attr("name") + $("#bitpicker input:checked").val();
401 /* set the real url for download */
402 $("a#downloadForRealz").attr("href", $(linkId).attr("href"));
403 }
404
405 /* reveal the download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700406 $("a#downloadForRealz").removeClass('disabled');
407 } else {
408 $("a#downloadForRealz").addClass('disabled');
409 }
410 }
411
412 function onDownloadForRealz(link) {
Scott Main11ac05b2012-11-15 14:57:44 -0800413 if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) {
Scott Maindb3678b2012-10-23 14:13:41 -0700414 $("div.sdk-terms").slideUp();
415 $("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow');
416 $("#next-steps").fadeIn('slow');
417 $("h1#tos-header").text('Get Ready to Code!');
418 return true;
419 } else {
Scott Main11ac05b2012-11-15 14:57:44 -0800420 $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200,
421 function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)}
Scott Maindb3678b2012-10-23 14:13:41 -0700422 );
423 return false;
424 }
425 }
426
427 $(window).hashchange( function(){
Scott Maindb3678b2012-10-23 14:13:41 -0700428 if (location.hash == "") {
429 location.reload();
430 }
431 });
432
Scott Maina1b358a2010-06-24 16:36:54 -0700433</script>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700434
Scott Maine4d8f1b2012-06-21 18:03:05 -0700435
Scott Maindb3678b2012-10-23 14:13:41 -0700436
437</div><!-- end the wrapper used for relative/absolute positions -->
438<?cs # THIS DIV WAS OPENED IN INDEX.JD ?>
439
440
441
442
Scott Main58286dc2011-01-17 18:23:21 -0800443 <?cs else ?> <?cs # end if online ?>
Scott Maina1b358a2010-06-24 16:36:54 -0700444
Scott Main17e47ad2011-05-27 09:52:19 -0700445 <?cs if:sdk.preview ?><?cs # it's preview offline docs ?>
Scott Maincc089092011-01-17 16:44:10 -0800446 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming
447 Android 3.0 release, to give you a head-start on developing applications for it.
448 </p>
449
450 <p>See the <a
451 href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information
452 about how to set up the preview SDK and get started.</p>
453 <style type="text/css">
454 .non-preview { display:none; }
455 </style>
Scott Main17e47ad2011-05-27 09:52:19 -0700456
457 <?cs else ?><?cs # it's normal offline docs ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700458
459 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
460 <?cs call:tag_list(root.descr) ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700461 <style type="text/css">
Scott Maine4d8f1b2012-06-21 18:03:05 -0700462 body .offline { display:block; }
463 body .online { display:none; }
464 </style>
465 <script>
466 $('.reqs').show();
467 </script>
Scott Maincc089092011-01-17 16:44:10 -0800468 <?cs /if ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700469
Scott Main58286dc2011-01-17 18:23:21 -0800470 <?cs /if ?> <?cs # end if/else online ?>
Scott Maincc089092011-01-17 16:44:10 -0800471
472<?cs /if ?> <?cs # end if/else NDK ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700473
Scott Maincc089092011-01-17 16:44:10 -0800474<?cs /if ?> <?cs # end if/else redirect ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700475
The Android Open Source Project88b60792009-03-03 19:28:42 -0800476
The Android Open Source Project88b60792009-03-03 19:28:42 -0800477</div><!-- end jd-content -->
478
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700479<?cs if:!sdk.redirect ?>
Scott Maincc089092011-01-17 16:44:10 -0800480<?cs include:"footer.cs" ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700481<?cs /if ?>
482
Scott Maincc089092011-01-17 16:44:10 -0800483</div><!-- end g-unit -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800484
485<?cs include:"trailer.cs" ?>
486
487</body>
488</html>
489
490
491