blob: 170231fa3dc7803ef809902967adedfd837cac92 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
3<html>
4<?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 <link href="<?cs var:toroot ?>assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
11 </head>
12<?cs else ?>
13 <?cs include:"head_tag.cs" ?>
14<?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -070015<body class="gc-documentation
16 <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
17 elif:design ?>design<?cs
18 elif:distribute ?>distribute<?cs
19 /if ?>" itemscope itemtype="http://schema.org/CreativeWork">
20 <a name="top"></a>
21<?cs include:"header.cs" ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080022
Scott Maine4d8f1b2012-06-21 18:03:05 -070023
24<div <?cs if:fullpage
25?><?cs else
26?>class="col-13" id="doc-col"<?cs /if ?> >
The Android Open Source Project88b60792009-03-03 19:28:42 -080027
The Android Open Source Project88b60792009-03-03 19:28:42 -080028<?cs if:sdk.redirect ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070029
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070030<div class="g-unit">
31 <div id="jd-content">
Scott Maincc089092011-01-17 16:44:10 -080032 <p>Redirecting to
33 <a href="<?cs var:toroot ?>sdk/<?cs
Scott Mainb66a5c02010-07-08 11:29:28 -070034 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
35 else ?>index.html<?cs /if ?>"><?cs
36 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
37 else ?>Download the SDK<?cs /if ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070038 </a> ...</p>
Scott Maincc089092011-01-17 16:44:10 -080039
The Android Open Source Project88b60792009-03-03 19:28:42 -080040<?cs else ?>
Scott Maincc089092011-01-17 16:44:10 -080041<?cs # else, if NOT redirect ...
42#
43#
44# The following is for SDK/NDK pages
45#
46#
47?>
48
Scott Maine4d8f1b2012-06-21 18:03:05 -070049<?cs if:header.hide ?><?cs else ?>
50<h1 itemprop="name"><?cs var:page.title ?></h1>
51<?cs /if ?>
Scott Main3652a112012-01-30 13:03:08 -080052 <div id="jd-content" itemprop="description">
The Android Open Source Project88b60792009-03-03 19:28:42 -080053
54<?cs if:sdk.not_latest_version ?>
55 <div class="special">
56 <p><strong>This is NOT the current Android SDK release.</strong></p>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070057 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080058 </div>
59<?cs /if ?>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070060
The Android Open Source Project88b60792009-03-03 19:28:42 -080061
Scott Maincc089092011-01-17 16:44:10 -080062<?cs if:ndk ?>
63<?cs #
64#
65#
66#
67#
68#
69#
70# the following is for the NDK
71#
72# (nested in if/else redirect)
73#
74#
75#
76#
77?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080078
Scott Main25659b02012-06-22 17:02:25 -070079 <table class="download" id="download-table">
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070080 <tr>
81 <th>Platform</th>
82 <th>Package</th>
83 <th>Size</th>
84 <th>MD5 Checksum</th>
85 </tr>
86 <tr>
87 <td>Windows</td>
88 <td>
Scott Main098d8de2012-11-13 11:25:06 -080089 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -070090 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 -070091 </td>
92 <td><?cs var:ndk.win_bytes ?> bytes</td>
93 <td><?cs var:ndk.win_checksum ?></td>
94 </tr>
Scott Main11ac05b2012-11-15 14:57:44 -080095 <tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070096 <td>Mac OS X (intel)</td>
97 <td>
Scott Main098d8de2012-11-13 11:25:06 -080098 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -070099 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 -0700100 </td>
101 <td><?cs var:ndk.mac_bytes ?> bytes</td>
102 <td><?cs var:ndk.mac_checksum ?></td>
103 </tr>
104 <tr>
Dirk Doughertye6be85f2009-06-24 11:01:03 -0700105 <td>Linux 32/64-bit (x86)</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700106 <td>
Scott Main098d8de2012-11-13 11:25:06 -0800107 <a onClick="return onDownload(this)"
Scott Main46c58042012-10-03 16:34:52 -0700108 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 -0700109 </td>
110 <td><?cs var:ndk.linux_bytes ?> bytes</td>
111 <td><?cs var:ndk.linux_checksum ?></td>
112 </tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700113 </table>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700114
115 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
116 <?cs call:tag_list(root.descr) ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700117
Scott Main098d8de2012-11-13 11:25:06 -0800118
119
120<script>
121 function onDownload(link) {
122
123 $("#downloadForRealz").html("Download " + $(link).text());
124 $("#downloadForRealz").attr('href',$(link).attr('href'));
125
126 $("#tos").fadeIn('slow');
127
128 location.hash = "download";
129 return false;
130 }
131
132
133 function onAgreeChecked() {
134 if ($("input#agree").is(":checked")) {
135 $("a#downloadForRealz").removeClass('disabled');
136 } else {
137 $("a#downloadForRealz").addClass('disabled');
138 }
139 }
140
141 function onDownloadNdkForRealz(link) {
142 if ($("input#agree").is(':checked')) {
143 $("#tos").fadeOut('slow');
144
145 $('html, body').animate({
146 scrollTop: $("#Installing").offset().top
147 }, 800, function() {
148 $("#Installing").click();
149 });
150
151 return true;
152 } else {
153 $("label#agreeLabel").parent().stop().animate({color: "#258AAF"}, 200,
154 function() {$("label#agreeLabel").parent().stop().animate({color: "#222"}, 200)}
155 );
156 return false;
157 }
158 }
159
160 $(window).hashchange( function(){
161 if (location.hash == "") {
162 location.reload();
163 }
164 });
165
166</script>
167
Scott Maincc089092011-01-17 16:44:10 -0800168 <?cs else ?>
169<?cs # end if NDK ...
170#
171#
172#
173#
174#
175#
176# the following is for the SDK
177#
178# (nested in if/else redirect and if/else NDK)
179#
180#
181#
182#
183?>
Scott Mainb73777e2010-11-22 15:02:01 -0800184 <?cs if:android.whichdoc == "online" ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700185
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800186
Scott Maine4d8f1b2012-06-21 18:03:05 -0700187<?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
188<?cs call:tag_list(root.descr) ?>
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800189
Scott Maindb3678b2012-10-23 14:13:41 -0700190
191
192
Scott Main55d99832012-11-12 23:03:59 -0800193<h4><a href='' class="expandable"
194 onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;"
195 >DOWNLOAD FOR OTHER PLATFORMS</a></h4>
196
197
198<div class="pax col-13 online" style="display:none;margin:0;">
Scott Maindb3678b2012-10-23 14:13:41 -0700199
Scott Main55d99832012-11-12 23:03:59 -0800200
Scott Maindb3678b2012-10-23 14:13:41 -0700201<p class="table-caption"><strong>ADT Bundle</strong></p>
202 <table class="download">
203 <tr>
204 <th>Platform</th>
205 <th>Package</th>
206 <th>Size</th>
207 <th>MD5 Checksum</th>
208 </tr>
209 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800210 <td>Windows 32-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700211 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800212 <a onClick="return onDownload(this)" id="win-bundle32"
213 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 -0700214 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800215 <td><?cs var:sdk.win32_bundle_bytes ?> bytes</td>
216 <td><?cs var:sdk.win32_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700217 </tr>
218 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800219 <td>Windows 64-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700220 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800221 <a onClick="return onDownload(this)" id="win-bundle64"
222 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 -0700223 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800224 <td><?cs var:sdk.win64_bundle_bytes ?> bytes</td>
225 <td><?cs var:sdk.win64_bundle_checksum ?></td>
226 </tr>
227 <tr>
228 <td><nobr>Mac OS X 64-bit</nobr></td>
229 <td>
230 <a onClick="return onDownload(this)" id="mac-bundle64"
231 href="http://dl.google.com/android/adt/<?cs var:sdk.mac64_bundle_download ?>"><?cs var:sdk.mac64_bundle_download ?></a>
232 </td>
233 <td><?cs var:sdk.mac64_bundle_bytes ?> bytes</td>
234 <td><?cs var:sdk.mac64_bundle_checksum ?></td>
235 </tr>
236 <tr>
237 <td>Linux 32-bit</td>
238 <td>
239 <a onClick="return onDownload(this)" id="linux-bundle32"
240 href="http://dl.google.com/android/adt/<?cs var:sdk.linux32_bundle_download ?>"><?cs var:sdk.linux32_bundle_download ?></a>
241 </td>
242 <td><?cs var:sdk.linux32_bundle_bytes ?> bytes</td>
243 <td><?cs var:sdk.linux32_bundle_checksum ?></td>
244 </tr>
245 <tr>
246 <td>Linux 64-bit</td>
247 <td>
248 <a onClick="return onDownload(this)" id="linux-bundle64"
249 href="http://dl.google.com/android/adt/<?cs var:sdk.linux64_bundle_download ?>"><?cs var:sdk.linux64_bundle_download ?></a>
250 </td>
251 <td><?cs var:sdk.linux64_bundle_bytes ?> bytes</td>
252 <td><?cs var:sdk.linux64_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700253 </tr>
254 </table>
255
256
257<p class="table-caption"><strong>SDK Tools Only</strong></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800258 <table class="download">
259 <tr>
260 <th>Platform</th>
261 <th>Package</th>
262 <th>Size</th>
263 <th>MD5 Checksum</th>
264 </tr>
265 <tr>
Scott Maincc089092011-01-17 16:44:10 -0800266 <td rowspan="2">Windows</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800267 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700268 <a onclick="return onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
Scott Maina1b358a2010-06-24 16:36:54 -0700269?>"><?cs var:sdk.win_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800270 </td>
271 <td><?cs var:sdk.win_bytes ?> bytes</td>
272 <td><?cs var:sdk.win_checksum ?></td>
273 </tr>
Scott Maincc089092011-01-17 16:44:10 -0800274 <tr>
275 <!-- blank TD from Windows rowspan -->
276 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700277 <a onclick="return onDownload(this)" id="win-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700278var:sdk.win_installer
Scott Maincc089092011-01-17 16:44:10 -0800279?>"><?cs var:sdk.win_installer ?></a> (Recommended)
280 </td>
281 <td><?cs var:sdk.win_installer_bytes ?> bytes</td>
282 <td><?cs var:sdk.win_installer_checksum ?></td>
283 </tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800284 <tr>
285 <td>Mac OS X</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800286 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700287 <a onclick="return onDownload(this)" id="mac-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700288var:sdk.mac_download
Scott Maina1b358a2010-06-24 16:36:54 -0700289?>"><?cs var:sdk.mac_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800290 </td>
291 <td><?cs var:sdk.mac_bytes ?> bytes</td>
292 <td><?cs var:sdk.mac_checksum ?></td>
293 </tr>
294 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800295 <td>Linux</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800296 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700297 <a onclick="return onDownload(this)" id="linux-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700298var:sdk.linux_download
Scott Maina1b358a2010-06-24 16:36:54 -0700299?>"><?cs var:sdk.linux_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800300 </td>
301 <td><?cs var:sdk.linux_bytes ?> bytes</td>
302 <td><?cs var:sdk.linux_checksum ?></td>
303 </tr>
304 </table>
Scott Maindb3678b2012-10-23 14:13:41 -0700305
Scott Main55d99832012-11-12 23:03:59 -0800306</div><!-- end pax -->
Scott Maindb3678b2012-10-23 14:13:41 -0700307
308
Scott Main55d99832012-11-12 23:03:59 -0800309
310</div><!-- end col-13 for lower-half content -->
Scott Maindb3678b2012-10-23 14:13:41 -0700311
312
Scott Maine4d8f1b2012-06-21 18:03:05 -0700313
314
315<script>
Scott Main55d99832012-11-12 23:03:59 -0800316 if (location.hash == "#Requirements") {
317 $('.reqs').show();
318 } else if (location.hash == "#ExistingIDE") {
319 $('.ide').show();
320 }
Scott Maindb3678b2012-10-23 14:13:41 -0700321
Scott Maine4d8f1b2012-06-21 18:03:05 -0700322 var os;
Scott Main11ac05b2012-11-15 14:57:44 -0800323 var bundlename;
Scott Maindb3678b2012-10-23 14:13:41 -0700324 var $toolslink;
325
Scott Maine4d8f1b2012-06-21 18:03:05 -0700326 if (navigator.appVersion.indexOf("Win")!=-1) {
327 os = "Windows";
Scott Main11ac05b2012-11-15 14:57:44 -0800328 bundlename = '#win-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700329 $toolslink = $('#win-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700330 } else if (navigator.appVersion.indexOf("Mac")!=-1) {
331 os = "Mac";
Scott Main11ac05b2012-11-15 14:57:44 -0800332 bundlename = '#mac-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700333 $toolslink = $('#mac-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700334 } else if (navigator.appVersion.indexOf("Linux")!=-1) {
335 os = "Linux";
Scott Main11ac05b2012-11-15 14:57:44 -0800336 bundlename = '#linux-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700337 $toolslink = $('#linux-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700338 }
The Android Open Source Project88b60792009-03-03 19:28:42 -0800339
Scott Maine4d8f1b2012-06-21 18:03:05 -0700340 if (os) {
Scott Mainf973ced2012-06-28 11:56:01 -0700341 $('#not-supported').hide();
Scott Maindb3678b2012-10-23 14:13:41 -0700342
343 /* set up primary adt download button */
344 $('#download-bundle-button').show();
345 $('#download-bundle-button').append("Download the SDK <br/><span class='small'>ADT Bundle for " + os + "</span>");
Scott Main11ac05b2012-11-15 14:57:44 -0800346 $('#download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename);
Scott Maindb3678b2012-10-23 14:13:41 -0700347
348 /* set up sdk tools only button */
349 $('#download-tools-button').show();
350 $('#download-tools-button').append("Download the SDK Tools for " + os);
Scott Main11ac05b2012-11-15 14:57:44 -0800351 $('#download-tools-button').click(function() {return onDownload(this,true);}).attr('href', $toolslink.attr('href'));
Scott Maine4d8f1b2012-06-21 18:03:05 -0700352 } else {
353 $('.pax').show();
Scott Maine4d8f1b2012-06-21 18:03:05 -0700354 }
Scott Main7c05b692012-11-14 14:12:29 -0800355
356
Scott Main11ac05b2012-11-15 14:57:44 -0800357 function onDownload(link, button, bundle) {
358
359 /* set text for download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700360 if (button) {
361 $("#downloadForRealz").html($(link).text());
362 } else {
363 $("#downloadForRealz").html("Download " + $(link).text());
Scott Main11ac05b2012-11-15 14:57:44 -0800364 }
365
366 /* if it's a bundle, show the 32/64-bit picker */
367 if (bundle) {
368 $("#downloadForRealz").attr('bundle','true');
369 if ($("#downloadForRealz").text().indexOf("Mac") == -1) {
370 $("p#bitpicker").show();
371 } else {
372 /* mac is always 64 bit, so set it checked */
373 $("p#bitpicker input[value=64]").attr('checked', true);
374 }
375 /* save link name until the bit version is chosen */
376 $("#downloadForRealz").attr('name',$(link).attr('href'));
377 } else {
378 /* if not using bundle, set download button to ignore bitpicker and set url */
379 $("#downloadForRealz").attr('bundle','false');
380 $("#downloadForRealz").attr('href',$(link).attr('href'));
381 /* set picker checked as a fake default */
382 $("p#bitpicker input[value=64]").attr('checked', true);
Scott Maindb3678b2012-10-23 14:13:41 -0700383 $("a#next-link").html("Setting Up an Existing IDE").attr('href',toRoot + 'sdk/installing/index.html');
384 }
Scott Maindb3678b2012-10-23 14:13:41 -0700385
386 $("#tos").fadeIn('fast');
387 $("#landing").fadeOut('fast');
388
389 location.hash = "download";
390 return false;
391 }
392
393
394 function onAgreeChecked() {
Scott Main11ac05b2012-11-15 14:57:44 -0800395 /* verify that the TOS is agreed and a bit version is chosen */
396 if ($("input#agree").is(":checked") && $("#bitpicker input:checked").length) {
397
398 /* if downloading the bundle */
399 if ($("#downloadForRealz").attr('bundle')) {
400 /* construct the name of the link we want based on the bit version */
401 linkId = $("a#downloadForRealz").attr("name") + $("#bitpicker input:checked").val();
402 /* set the real url for download */
403 $("a#downloadForRealz").attr("href", $(linkId).attr("href"));
404 }
405
406 /* reveal the download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700407 $("a#downloadForRealz").removeClass('disabled');
408 } else {
409 $("a#downloadForRealz").addClass('disabled');
410 }
411 }
412
413 function onDownloadForRealz(link) {
Scott Main11ac05b2012-11-15 14:57:44 -0800414 if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) {
Scott Maindb3678b2012-10-23 14:13:41 -0700415 $("div.sdk-terms").slideUp();
416 $("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow');
417 $("#next-steps").fadeIn('slow');
418 $("h1#tos-header").text('Get Ready to Code!');
419 return true;
420 } else {
Scott Main11ac05b2012-11-15 14:57:44 -0800421 $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200,
422 function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)}
Scott Maindb3678b2012-10-23 14:13:41 -0700423 );
424 return false;
425 }
426 }
427
428 $(window).hashchange( function(){
Scott Maindb3678b2012-10-23 14:13:41 -0700429 if (location.hash == "") {
430 location.reload();
431 }
432 });
433
Scott Maina1b358a2010-06-24 16:36:54 -0700434</script>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700435
Scott Maine4d8f1b2012-06-21 18:03:05 -0700436
Scott Maindb3678b2012-10-23 14:13:41 -0700437
438</div><!-- end the wrapper used for relative/absolute positions -->
439<?cs # THIS DIV WAS OPENED IN INDEX.JD ?>
440
441
442
443
Scott Main58286dc2011-01-17 18:23:21 -0800444 <?cs else ?> <?cs # end if online ?>
Scott Maina1b358a2010-06-24 16:36:54 -0700445
Scott Main17e47ad2011-05-27 09:52:19 -0700446 <?cs if:sdk.preview ?><?cs # it's preview offline docs ?>
Scott Maincc089092011-01-17 16:44:10 -0800447 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming
448 Android 3.0 release, to give you a head-start on developing applications for it.
449 </p>
450
451 <p>See the <a
452 href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information
453 about how to set up the preview SDK and get started.</p>
454 <style type="text/css">
455 .non-preview { display:none; }
456 </style>
Scott Main17e47ad2011-05-27 09:52:19 -0700457
458 <?cs else ?><?cs # it's normal offline docs ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700459
460 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
461 <?cs call:tag_list(root.descr) ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700462 <style type="text/css">
Scott Maine4d8f1b2012-06-21 18:03:05 -0700463 body .offline { display:block; }
464 body .online { display:none; }
465 </style>
466 <script>
467 $('.reqs').show();
468 </script>
Scott Maincc089092011-01-17 16:44:10 -0800469 <?cs /if ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700470
Scott Main58286dc2011-01-17 18:23:21 -0800471 <?cs /if ?> <?cs # end if/else online ?>
Scott Maincc089092011-01-17 16:44:10 -0800472
473<?cs /if ?> <?cs # end if/else NDK ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700474
Scott Maincc089092011-01-17 16:44:10 -0800475<?cs /if ?> <?cs # end if/else redirect ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700476
The Android Open Source Project88b60792009-03-03 19:28:42 -0800477
The Android Open Source Project88b60792009-03-03 19:28:42 -0800478</div><!-- end jd-content -->
479
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700480<?cs if:!sdk.redirect ?>
Scott Maincc089092011-01-17 16:44:10 -0800481<?cs include:"footer.cs" ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700482<?cs /if ?>
483
Scott Maincc089092011-01-17 16:44:10 -0800484</div><!-- end g-unit -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800485
486<?cs include:"trailer.cs" ?>
487
488</body>
489</html>
490
491
492