The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | <?cs include:"doctype.cs" ?> |
| 2 | <?cs include:"macros.cs" ?> |
| 3 | <html> |
| 4 | <?cs if:sdk.redirect ?> |
| 5 | <head> |
| 6 | <title>Redirecting...</title> |
Dirk Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 7 | <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs |
Dirk Dougherty | 71904aa | 2009-08-05 20:35:31 -0700 | [diff] [blame] | 8 | if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs |
Dirk Dougherty | e123385 | 2010-03-03 14:34:51 -0800 | [diff] [blame] | 9 | else ?>index.html<?cs /if ?>"> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 10 | <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 ?> |
| 15 | <body class="gc-documentation"> |
| 16 | <a name="top"></a> |
| 17 | <?cs call:custom_masthead() ?> |
| 18 | |
| 19 | <?cs call:sdk_nav() ?> |
| 20 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 21 | <?cs if:sdk.redirect ?> |
Dirk Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 22 | |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 23 | <div class="g-unit"> |
| 24 | <div id="jd-content"> |
| 25 | <p>Redirecting to |
Dirk Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 26 | <a href="<?cs var:toroot ?>sdk/<?cs |
Scott Main | b66a5c0 | 2010-07-08 11:29:28 -0700 | [diff] [blame] | 27 | if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs |
| 28 | else ?>index.html<?cs /if ?>"><?cs |
| 29 | if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs |
| 30 | else ?>Download the SDK<?cs /if ?> |
Dirk Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 31 | </a> ...</p> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 32 | <?cs else ?> |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 33 | <div class="g-unit" id="doc-content" > |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 34 | <div id="jd-header" class="guide-header" > |
| 35 | <span class="crumb"> </span> |
Dirk Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 36 | <h1><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs var:page.title ?></h1> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 37 | </div> |
| 38 | |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 39 | <div id="jd-content"> |
Dirk Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 40 | <?cs |
Dirk Dougherty | e123385 | 2010-03-03 14:34:51 -0800 | [diff] [blame] | 41 | if:ndk ?><?cs |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 42 | else ?><?cs |
Dirk Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 43 | if:android.whichdoc == "online" ?><p><em><?cs |
| 44 | var:sdk.date ?></em></p><?cs |
| 45 | /if ?><?cs |
| 46 | /if ?> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 47 | |
| 48 | <?cs if:sdk.not_latest_version ?> |
| 49 | <div class="special"> |
| 50 | <p><strong>This is NOT the current Android SDK release.</strong></p> |
Dirk Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 51 | <p><a href="/sdk/index.html">Download the current Android SDK</a></p> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 52 | </div> |
| 53 | <?cs /if ?> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 54 | |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 55 | <?cs if:android.whichdoc != "online" && !android.preview ?> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 56 | |
Dirk Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 57 | <!-- <p>The sections below provide an overview of how to install the SDK package. </p> --> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 58 | |
| 59 | <?cs else ?> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 60 | <?cs if:ndk ?> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 61 | |
Robert Ly | 706e41e | 2010-11-02 18:35:43 -0700 | [diff] [blame] | 62 | <p>The Android NDK is a companion tool to the Android SDK that lets you build |
| 63 | performance-critical portions of your apps in native code. It provides headers and |
| 64 | libraries that allow you to build activities, handle user input, use hardware sensors, |
| 65 | access application resources, and more, when programming in C or C++. If you write |
| 66 | native code, your applications are still packaged into an .apk file and they still run |
| 67 | inside of a virtual machine on the device. The fundamental Android application model |
| 68 | does not change.</p> |
| 69 | |
Scott Main | ec97fd3 | 2010-11-04 21:02:14 -0700 | [diff] [blame] | 70 | <p>Using native code does not result in an automatic performance increase, |
Robert Ly | 706e41e | 2010-11-02 18:35:43 -0700 | [diff] [blame] | 71 | but always increases application complexity. If you have not run into any limitations |
Scott Main | ec97fd3 | 2010-11-04 21:02:14 -0700 | [diff] [blame] | 72 | using the Android framework APIs, you probably do not need the NDK. Read <a |
| 73 | href="<?cs var:toroot ?>sdk/ndk/overview.html">What is the NDK?</a> for more information about what |
| 74 | the NDK offers and whether it will be useful to you. |
Robert Ly | 706e41e | 2010-11-02 18:35:43 -0700 | [diff] [blame] | 75 | </p> |
| 76 | <p> |
| 77 | The NDK is designed for use <em>only</em> in conjunction with the |
Scott Main | ec97fd3 | 2010-11-04 21:02:14 -0700 | [diff] [blame] | 78 | Android SDK. If you have not already installed and setup the <a |
| 79 | href="http://developer.android.com/sdk/index.html">Android SDK</a>, please |
Robert Ly | 706e41e | 2010-11-02 18:35:43 -0700 | [diff] [blame] | 80 | do so before downloading the NDK. |
| 81 | </p> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 82 | |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 83 | <table class="download"> |
| 84 | <tr> |
| 85 | <th>Platform</th> |
| 86 | <th>Package</th> |
| 87 | <th>Size</th> |
| 88 | <th>MD5 Checksum</th> |
| 89 | </tr> |
| 90 | <tr> |
| 91 | <td>Windows</td> |
| 92 | <td> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 93 | <a href="http://dl.google.com/android/ndk/<?cs var:ndk.win_download ?>"><?cs var:ndk.win_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 94 | </td> |
| 95 | <td><?cs var:ndk.win_bytes ?> bytes</td> |
| 96 | <td><?cs var:ndk.win_checksum ?></td> |
| 97 | </tr> |
| 98 | <tr class="alt-color"> |
| 99 | <td>Mac OS X (intel)</td> |
| 100 | <td> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 101 | <a href="http://dl.google.com/android/ndk/<?cs var:ndk.mac_download ?>"><?cs var:ndk.mac_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 102 | </td> |
| 103 | <td><?cs var:ndk.mac_bytes ?> bytes</td> |
| 104 | <td><?cs var:ndk.mac_checksum ?></td> |
| 105 | </tr> |
| 106 | <tr> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 107 | <td>Linux 32/64-bit (x86)</td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 108 | <td> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 109 | <a href="http://dl.google.com/android/ndk/<?cs var:ndk.linux_download ?>"><?cs var:ndk.linux_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 110 | </td> |
| 111 | <td><?cs var:ndk.linux_bytes ?> bytes</td> |
| 112 | <td><?cs var:ndk.linux_checksum ?></td> |
| 113 | </tr> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 114 | </table> |
| 115 | |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 116 | <?cs else ?><?cs if:android.whichdoc == "online" ?> |
| 117 | |
| 118 | <?cs if:sdk.preview ?> |
| 119 | <p>Welcome developers! The next release of the Android platform will be |
| 120 | Android 1.6 and we are pleased to announce the availability of an early look |
| 121 | SDK to give you a head-start on developing applications for it. </p> |
| 122 | |
Dirk Dougherty | 123bb12 | 2009-08-27 16:45:47 -0700 | [diff] [blame] | 123 | <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 124 | improvements and new features for users and developers. Additionally, the SDK |
| 125 | itself introduces several new capabilities that enable you to develop |
| 126 | applications more efficiently. See the <a href="features.html">Android <?cs |
| 127 | var:sdk.preview.version ?> Platform Highlights</a> document for a list of |
| 128 | highlights.</p> |
| 129 | <?cs /if ?> |
| 130 | <?cs # end if NDK ... the following is for the SDK ?> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 131 | |
Dirk Dougherty | e123385 | 2010-03-03 14:34:51 -0800 | [diff] [blame] | 132 | <?cs # |
| 133 | <div class="toggle-content special"> |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 134 | <p>The Android SDK has changed! If you've worked with the Android SDK before, |
| 135 | you will notice several important differences:</p> |
| 136 | |
| 137 | <div class="toggle-content-toggleme" style="display:none"> |
Dirk Dougherty | c2c5e50 | 2009-10-24 14:38:58 -0700 | [diff] [blame] | 138 | <ul style="padding-bottom:.0;"> |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 139 | <li style="margin-top:.5em">The SDK downloadable package includes <em>only</em> |
| 140 | the latest version of the Android SDK Tools.</li> |
| 141 | <li>Once you've installed the SDK, you now use the Android SDK and AVD Manager |
| 142 | to download all of the SDK components that you need, such as Android platforms, |
| 143 | SDK add-ons, tools, and documentation. </li> |
| 144 | <li>The new approach is modular — you can install only the components you |
| 145 | need and update any or all components without affecting other parts of your |
| 146 | development environment.</li> |
| 147 | <li>In short, once you've installed the new SDK, you will not need to download |
| 148 | an SDK package again. Instead, you will use the Android SDK and AVD Manager to |
| 149 | keep your development environment up-to-date. </li> |
| 150 | </ul> |
Dirk Dougherty | c2c5e50 | 2009-10-24 14:38:58 -0700 | [diff] [blame] | 151 | <p style="margin-top:0">If you are currently using the Android 1.6 SDK, you |
| 152 | do not need to install the new SDK, because your existing SDK already |
| 153 | includes the Android SDK and AVD Manager tool. To develop against Android |
Dirk Dougherty | b5817a3 | 2009-11-18 23:15:13 -0800 | [diff] [blame] | 154 | 2.0.1, for example, you can just download the Android 2.0.1 platform (and |
Dirk Dougherty | c2c5e50 | 2009-10-24 14:38:58 -0700 | [diff] [blame] | 155 | updated SDK Tools) into your existing SDK. Refer to <a |
| 156 | href="adding-components.html">Adding SDK Components</a>.</p> |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 157 | </div> |
| 158 | |
Dirk Dougherty | e123385 | 2010-03-03 14:34:51 -0800 | [diff] [blame] | 159 | <a href='#' class='toggle-content-button show' onclick="toggleContent(this,true);return false;"> |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 160 | <span>show more</span><span style='display:none'>show less</span> |
| 161 | </a> |
| 162 | </div> |
Dirk Dougherty | e123385 | 2010-03-03 14:34:51 -0800 | [diff] [blame] | 163 | ?> |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 164 | |
Dirk Dougherty | 4b2eb97 | 2010-03-08 17:31:26 -0800 | [diff] [blame] | 165 | <p>Welcome Developers! If you are new to the Android SDK, please read the <a |
| 166 | href="#quickstart">Quick Start</a>, below, for an overview of how to install and |
| 167 | set up the SDK. </p> |
| 168 | |
| 169 | <p>If you are already using the Android SDK and would like to update to the |
| 170 | latest tools or platforms, please use the <em>Android SDK and AVD Manager</em> |
| 171 | to get the components, rather than downloading a new SDK package.</p> |
| 172 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 173 | <table class="download"> |
| 174 | <tr> |
| 175 | <th>Platform</th> |
| 176 | <th>Package</th> |
| 177 | <th>Size</th> |
| 178 | <th>MD5 Checksum</th> |
| 179 | </tr> |
| 180 | <tr> |
| 181 | <td>Windows</td> |
| 182 | <td> |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 183 | <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download |
| 184 | ?>"><?cs var:sdk.win_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 185 | </td> |
| 186 | <td><?cs var:sdk.win_bytes ?> bytes</td> |
| 187 | <td><?cs var:sdk.win_checksum ?></td> |
| 188 | </tr> |
| 189 | <tr class="alt-color"> |
| 190 | <td>Mac OS X (intel)</td> |
| 191 | <td> |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 192 | <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.mac_download |
| 193 | ?>"><?cs var:sdk.mac_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 194 | </td> |
| 195 | <td><?cs var:sdk.mac_bytes ?> bytes</td> |
| 196 | <td><?cs var:sdk.mac_checksum ?></td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td>Linux (i386)</td> |
| 200 | <td> |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 201 | <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.linux_download |
| 202 | ?>"><?cs var:sdk.linux_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 203 | </td> |
| 204 | <td><?cs var:sdk.linux_bytes ?> bytes</td> |
| 205 | <td><?cs var:sdk.linux_checksum ?></td> |
| 206 | </tr> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 207 | <?cs if:adt.zip_download ?> |
| 208 | <tr class="alt-color"> |
| 209 | <td>ADT Plugin for Eclipse <?cs var:adt.zip_version ?></td> |
| 210 | <td> |
Dirk Dougherty | c66c90a | 2009-09-16 10:11:01 -0700 | [diff] [blame] | 211 | <a href="http://dl.google.com/android/<?cs var:adt.zip_download ?>"><?cs var:adt.zip_download ?></a> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 212 | </td> |
| 213 | <td><?cs var:adt.zip_bytes ?> bytes</td> |
| 214 | <td><?cs var:adt.zip_checksum ?></td> |
| 215 | </tr> |
| 216 | <?cs /if ?> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 217 | </table> |
| 218 | |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 219 | |
| 220 | <div id="next-steps" style="display:none"> |
| 221 | <p><b>Your download of <em><span id="filename"></span></em> has begun!</b></p> |
| 222 | </div> |
| 223 | |
| 224 | <script type="text/javascript"> |
| 225 | function onDownload(link) { |
| 226 | $(link).parent().parent().children().css('background', '#fff'); |
| 227 | $("#filename").text($(link).html()); |
| 228 | $("#next-steps").show(); |
| 229 | } |
| 230 | </script> |
| 231 | |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 232 | <?cs /if ?> |
| 233 | <?cs /if ?> |
| 234 | <?cs /if ?> |
| 235 | |
| 236 | <?cs if:android.whichdoc != "online" && sdk.preview ?> |
| 237 | <p>Welcome developers! The next release of the Android platform will be |
Dirk Dougherty | 123bb12 | 2009-08-27 16:45:47 -0700 | [diff] [blame] | 238 | Android <?cs var:sdk.preview.version ?> and we are pleased to announce the |
| 239 | availability of an early look SDK to give you a head-start on developing |
| 240 | applications for it. </p> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 241 | |
Dirk Dougherty | 123bb12 | 2009-08-27 16:45:47 -0700 | [diff] [blame] | 242 | <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of |
| 243 | improvements and new features for users and developers. Additionally, the SDK |
| 244 | itself introduces several new capabilities that enable you to develop |
| 245 | applications more efficiently. See the <a |
| 246 | href="http://developer.android.com/sdk/preview/features.html">Android |
| 247 | <?cs var:sdk.preview.version ?> Highlights</a> document for a list of |
| 248 | highlights.</p> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 249 | <?cs /if ?> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 250 | |
| 251 | <?cs call:tag_list(root.descr) ?> |
| 252 | |
| 253 | <?cs /if ?> |
| 254 | </div><!-- end jd-content --> |
| 255 | |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 256 | <?cs if:!sdk.redirect ?> |
| 257 | <?cs include:"footer.cs" ?> |
| 258 | <?cs /if ?> |
| 259 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 260 | </div><!-- end doc-content --> |
| 261 | |
| 262 | <?cs include:"trailer.cs" ?> |
| 263 | |
| 264 | </body> |
| 265 | </html> |
| 266 | |
| 267 | |
| 268 | |