blob: 49826380e60c6b6e2965a24cade36b16b98e99f5 [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>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -07007 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
Dirk Dougherty71904aa2009-08-05 20:35:31 -07008 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 ?>
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 Project88b60792009-03-03 19:28:42 -080021<?cs if:sdk.redirect ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070022
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070023<div class="g-unit">
24 <div id="jd-content">
25 <p>Redirecting to
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070026 <a href="<?cs var:toroot ?>sdk/<?cs
Scott Mainb66a5c02010-07-08 11:29:28 -070027 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 Doughertyd8cfce02009-07-15 16:37:21 -070031 </a> ...</p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080032<?cs else ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070033<div class="g-unit" id="doc-content" >
The Android Open Source Project88b60792009-03-03 19:28:42 -080034 <div id="jd-header" class="guide-header" >
35 <span class="crumb">&nbsp;</span>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070036 <h1><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs var:page.title ?></h1>
The Android Open Source Project88b60792009-03-03 19:28:42 -080037 </div>
38
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070039 <div id="jd-content">
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070040 <?cs
Dirk Doughertye1233852010-03-03 14:34:51 -080041 if:ndk ?><?cs
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070042 else ?><?cs
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070043 if:android.whichdoc == "online" ?><p><em><?cs
44 var:sdk.date ?></em></p><?cs
45 /if ?><?cs
46 /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080047
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 Dougherty3d3d7b72009-10-21 19:52:52 -070051 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080052 </div>
53<?cs /if ?>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070054
Scott Mainb73777e2010-11-22 15:02:01 -080055<?cs if:android.whichdoc != "online" && !sdk.preview ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080056
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070057<!-- <p>The sections below provide an overview of how to install the SDK package. </p> -->
The Android Open Source Project88b60792009-03-03 19:28:42 -080058
59<?cs else ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070060 <?cs if:ndk ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080061
Robert Ly706e41e2010-11-02 18:35:43 -070062<p>The Android NDK is a companion tool to the Android SDK that lets you build
63performance-critical portions of your apps in native code. It provides headers and
64libraries that allow you to build activities, handle user input, use hardware sensors,
65access application resources, and more, when programming in C or C++. If you write
66native code, your applications are still packaged into an .apk file and they still run
67inside of a virtual machine on the device. The fundamental Android application model
68does not change.</p>
69
Scott Mainec97fd32010-11-04 21:02:14 -070070<p>Using native code does not result in an automatic performance increase,
Robert Ly706e41e2010-11-02 18:35:43 -070071but always increases application complexity. If you have not run into any limitations
Scott Mainec97fd32010-11-04 21:02:14 -070072using the Android framework APIs, you probably do not need the NDK. Read <a
73href="<?cs var:toroot ?>sdk/ndk/overview.html">What is the NDK?</a> for more information about what
74the NDK offers and whether it will be useful to you.
Robert Ly706e41e2010-11-02 18:35:43 -070075</p>
76<p>
77The NDK is designed for use <em>only</em> in conjunction with the
Scott Mainec97fd32010-11-04 21:02:14 -070078Android SDK. If you have not already installed and setup the <a
79href="http://developer.android.com/sdk/index.html">Android SDK</a>, please
Robert Ly706e41e2010-11-02 18:35:43 -070080do so before downloading the NDK.
81</p>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070082
Scott Mainb73777e2010-11-22 15:02:01 -080083 <?cs if:sdk.whichdoc == "online" ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070084 <table class="download">
85 <tr>
86 <th>Platform</th>
87 <th>Package</th>
88 <th>Size</th>
89 <th>MD5 Checksum</th>
90 </tr>
91 <tr>
92 <td>Windows</td>
93 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070094 <a 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 -070095 </td>
96 <td><?cs var:ndk.win_bytes ?> bytes</td>
97 <td><?cs var:ndk.win_checksum ?></td>
98 </tr>
99 <tr class="alt-color">
100 <td>Mac OS X (intel)</td>
101 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -0700102 <a 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 -0700103 </td>
104 <td><?cs var:ndk.mac_bytes ?> bytes</td>
105 <td><?cs var:ndk.mac_checksum ?></td>
106 </tr>
107 <tr>
Dirk Doughertye6be85f2009-06-24 11:01:03 -0700108 <td>Linux 32/64-bit (x86)</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700109 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -0700110 <a 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 -0700111 </td>
112 <td><?cs var:ndk.linux_bytes ?> bytes</td>
113 <td><?cs var:ndk.linux_checksum ?></td>
114 </tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700115 </table>
Scott Mainb73777e2010-11-22 15:02:01 -0800116 <?cs /if ?><?cs # END if online ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700117
Scott Mainb73777e2010-11-22 15:02:01 -0800118 <?cs else ?><?cs # END if ndk ?>
119 <?cs if:android.whichdoc == "online" ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700120
121 <?cs if:sdk.preview ?>
122 <p>Welcome developers! The next release of the Android platform will be
123 Android 1.6 and we are pleased to announce the availability of an early look
124 SDK to give you a head-start on developing applications for it. </p>
125
Dirk Dougherty123bb122009-08-27 16:45:47 -0700126 <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of
Scott Main462cc372009-10-23 16:19:37 -0700127 improvements and new features for users and developers. Additionally, the SDK
128 itself introduces several new capabilities that enable you to develop
129 applications more efficiently. See the <a href="features.html">Android <?cs
130 var:sdk.preview.version ?> Platform Highlights</a> document for a list of
131 highlights.</p>
Scott Mainb73777e2010-11-22 15:02:01 -0800132 <?cs /if ?><?cs # END if preview ?>
Scott Maina1b358a2010-06-24 16:36:54 -0700133
Scott Mainbadffa82010-11-08 12:28:14 -0800134 <p>Welcome Developers! If you are new to the Android SDK, please read the steps below, for an
135overview of how to set up the SDK. </p>
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800136
137 <p>If you are already using the Android SDK and would like to update to the
138latest tools or platforms, please use the <em>Android SDK and AVD Manager</em>
139to get the components, rather than downloading a new SDK package.</p>
140
The Android Open Source Project88b60792009-03-03 19:28:42 -0800141 <table class="download">
142 <tr>
143 <th>Platform</th>
144 <th>Package</th>
145 <th>Size</th>
146 <th>MD5 Checksum</th>
147 </tr>
148 <tr>
149 <td>Windows</td>
150 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700151 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
152?>"><?cs var:sdk.win_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800153 </td>
154 <td><?cs var:sdk.win_bytes ?> bytes</td>
155 <td><?cs var:sdk.win_checksum ?></td>
156 </tr>
157 <tr class="alt-color">
158 <td>Mac OS X (intel)</td>
159 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700160 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.mac_download
161?>"><?cs var:sdk.mac_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800162 </td>
163 <td><?cs var:sdk.mac_bytes ?> bytes</td>
164 <td><?cs var:sdk.mac_checksum ?></td>
165 </tr>
166 <tr>
167 <td>Linux (i386)</td>
168 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700169 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.linux_download
170?>"><?cs var:sdk.linux_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800171 </td>
172 <td><?cs var:sdk.linux_bytes ?> bytes</td>
173 <td><?cs var:sdk.linux_checksum ?></td>
174 </tr>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700175 <?cs if:adt.zip_download ?>
176 <tr class="alt-color">
177 <td>ADT Plugin for Eclipse <?cs var:adt.zip_version ?></td>
178 <td>
Dirk Doughertyc66c90a2009-09-16 10:11:01 -0700179 <a href="http://dl.google.com/android/<?cs var:adt.zip_download ?>"><?cs var:adt.zip_download ?></a>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700180 </td>
181 <td><?cs var:adt.zip_bytes ?> bytes</td>
182 <td><?cs var:adt.zip_checksum ?></td>
183 </tr>
184 <?cs /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800185 </table>
186
Scott Maina1b358a2010-06-24 16:36:54 -0700187
188<div id="next-steps" style="display:none">
189 <p><b>Your download of <em><span id="filename"></span></em> has begun!</b></p>
190</div>
191
192<script type="text/javascript">
193function onDownload(link) {
194 $(link).parent().parent().children().css('background', '#fff');
195 $("#filename").text($(link).html());
196 $("#next-steps").show();
197}
198</script>
199
Scott Mainb73777e2010-11-22 15:02:01 -0800200 <?cs /if ?><?cs # END if online ?>
201 <?cs /if ?><?cs # END if/else ndk/sdk ?>
202<?cs /if ?><?cs # END if/else redirect ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700203
Scott Mainb73777e2010-11-22 15:02:01 -0800204<?cs if:android.whichdoc != "online" && sdk.preview && !ndk ?>
205 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming <?cs
206var:sdk.preview.version ?> release, to give you a head-start on developing applications for it.
207</p>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700208
Scott Mainb73777e2010-11-22 15:02:01 -0800209 <p>See the <a
210href="<?cs var:toroot ?>sdk/preview/features.html">Introduction to
211<?cs var:sdk.preview.version ?></a> document for more information about new features and
212the <a href="<?cs var:toroot ?>sdk/preview/features.html">Getting Started</a> guide for
213information about how to setup the preview SDK.</p>
214<style type="text/css">
215.non-preview { display:none; }
216</style>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700217<?cs /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800218
219 <?cs call:tag_list(root.descr) ?>
220
221<?cs /if ?>
222</div><!-- end jd-content -->
223
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700224<?cs if:!sdk.redirect ?>
225 <?cs include:"footer.cs" ?>
226<?cs /if ?>
227
The Android Open Source Project88b60792009-03-03 19:28:42 -0800228</div><!-- end doc-content -->
229
230<?cs include:"trailer.cs" ?>
231
232</body>
233</html>
234
235
236