diff options
Diffstat (limited to 'docs/html/sdk/index.jd')
-rw-r--r-- | docs/html/sdk/index.jd | 131 |
1 files changed, 111 insertions, 20 deletions
diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index b56ccdb..e788ffe 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -1,6 +1,6 @@ page.title=Android SDK +header.hide=1 page.metaDescription=Download the official Android SDK to develop apps for Android-powered devices. -sdk.redirect=0 sdk.win_installer=installer_r18-windows.exe sdk.win_installer_bytes=37456234 @@ -20,28 +20,119 @@ sdk.linux_checksum=6cd716d0e04624b865ffed3c25b3485c @jd:body -<div class="non-preview"> -<p>Here's an overview of the steps you must follow to set up the Android SDK:</p> +<style type="text/css"> + .offline { display:none; } +</style> -<ol> - <li>Prepare your development computer and ensure it meets the system requirements.</li> - <li>Install the SDK starter package from the table above. (If you're on Windows, download the -installer for help with the initial setup.)</li> - <li>Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).</li> - <li>Add Android platforms and other packages to your SDK.</li> - <li>Explore the contents of the Android SDK (optional).</li> -</ol> +<div class="wrap"> -<p class="online-message">To get started, download the appropriate package from the table above, -then read the guide to <a href="installing.html">Installing the SDK</a>.</p> +<div class="col-13"> </div><!-- provides top margin for content --> + +<div class="col-7" style="margin-left:0"> + <img src="{@docRoot}images/sdk-cube.png" alt="" /> +</div> + + +<div class="col-6" style="margin-right:0;"> + +<div id="intro" style="position:absolute;width:inherit"> +<h1 style="margin-top:0">Get the Android SDK</h1> + + +<p>The Android SDK provides you the API libraries and developer tools necessary to build, test, + and debug apps for Android.</p> + +<!-- this appears when viewing the offline docs --> +<p class="offline"> +To get the latest Android SDK, please visit the web site at <a +href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> +</p> + +<!-- this appears when viewing the online docs --> +<div class="online"> +<a class="big button disabled" id="download-button" href="" >Sorry, the SDK does not support +your OS</a> + +<p style="margin-top:20px;font-size:12px"><a href='' onclick=" + if ($('.pax').is(':visible')) { + $('.pax').slideUp(); + } else { + $('.reqs').slideUp(); + $('.pax').slideDown(); + }return false;">Other platforms</a> | + <a href='' onclick=" + if ($('.reqs').is(':visible')) { + $('.reqs').slideUp(); + } else { + $('.pax').slideUp(); + $('.reqs').slideDown(); + }return false;">System requirements</a></p> +</div><!-- end online --> + +</div><!-- end intro --> -<!-- non-inline style and based on only one selector so that - it can be overriden by the sdkpage.cs template --> -<style type="text/css"> - .offline-message { display:none; } -</style> -<p class="offline-message">For more information about how to set up your -development environment, read the guide to <a href="installing.html">Installing the SDK</a>.</p> +<div id="next-steps" class="online" style="display:none;position:absolute;width:inherit"> + <h1 style="margin-top:0">Get ready to code!</h1> + <p><em><span id="filename"></span></em> is now downloading...</p> + <p>You'll soon be developing apps for Android! Once the download completes, + you need to follow a few steps to set up your environment.</p> + <p>To continue, follow the guide to <a href="{@docRoot}sdk/installing/index.html">Installing +the SDK</a>.</p> + +</div><!-- end next-steps --> + +</div><!-- end col-6 --> + + +<div class="col-13"> </div><!-- provides padding --> + + +<div class="col-6 reqs" style="margin-left:0;display:none;font-size:12px"> +<h3>Operating Systems</h3> +<ul> + <li>Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit)</li> + <li>Mac OS X 10.5.8 or later (x86 only)</li> + <li>Linux (tested on Ubuntu Linux, Lucid Lynx) + <ul> + <li>GNU C Library (glibc) 2.7 or later is required.</li> + <li>On Ubuntu Linux, version 8.04 or later is required.</li> + <li>64-bit distributions must be capable of running 32-bit applications.</li> + </ul> + </li> +</ul> +</div> + +<div class="col-7 reqs" style="margin-right:0;display:none;font-size:12px"> +<h3>Eclipse IDE</h3> + <ul> + <li>Eclipse 3.6.2 (Helios) or greater +<p class="note"><strong>Note:</strong> Eclipse 3.5 (Galileo) is no longer +supported with the latest version of ADT.</p></li> + <li>Eclipse <a href="http://www.eclipse.org/jdt">JDT</a> plugin (included +in most Eclipse IDE packages) </li> + <li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a> + (JRE alone is not sufficient)</li> + <li><a href="{@docRoot}tools/sdk/eclipse-adt.html">Android Development Tools plugin</a> +(recommended)</li> + <li><strong>Not</strong> compatible with Gnu Compiler for Java (gcj)</li> + </ul> + + +<h3>Other development environments</h3> + <ul> + <li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a> + (JRE alone is not sufficient)</li> + <li><a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later</li> + <li><strong>Not</strong> compatible with Gnu Compiler for Java (gcj)</li> + </ul> + </li> +</ul> + +<p class="note"><strong>Note:</strong> Some Linux distributions may include JDK 1.4 or Gnu Compiler +for Java, both of which are <em>not</em> supported for Android development. </p> </div> + +</div> + |