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" ?> |
Scott Main | e05e6f9 | 2013-01-29 13:34:17 -0800 | [diff] [blame] | 3 | <html<?cs if:devsite ?> devsite<?cs /if ?>> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 4 | <?cs if:sdk.redirect ?> |
| 5 | <head> |
| 6 | <title>Redirecting...</title> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 7 | <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs |
| 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 | </head> |
| 11 | <?cs else ?> |
| 12 | <?cs include:"head_tag.cs" ?> |
| 13 | <?cs /if ?> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 14 | <body class="gc-documentation |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 21 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 22 | |
| 23 | <div <?cs if:fullpage |
| 24 | ?><?cs else |
| 25 | ?>class="col-13" id="doc-col"<?cs /if ?> > |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 26 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 27 | <?cs if:sdk.redirect ?> |
Dirk Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 28 | |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 29 | <div class="g-unit"> |
| 30 | <div id="jd-content"> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 31 | <p>Redirecting to |
| 32 | <a href="<?cs var:toroot ?>sdk/<?cs |
Scott Main | b66a5c0 | 2010-07-08 11:29:28 -0700 | [diff] [blame] | 33 | 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 Dougherty | d8cfce0 | 2009-07-15 16:37:21 -0700 | [diff] [blame] | 37 | </a> ...</p> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 38 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 39 | <?cs else ?> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 40 | <?cs # else, if NOT redirect ... |
| 41 | # |
| 42 | # |
| 43 | # The following is for SDK/NDK pages |
| 44 | # |
| 45 | # |
| 46 | ?> |
| 47 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 48 | <?cs if:header.hide ?><?cs else ?> |
| 49 | <h1 itemprop="name"><?cs var:page.title ?></h1> |
| 50 | <?cs /if ?> |
Scott Main | 3652a11 | 2012-01-30 13:03:08 -0800 | [diff] [blame] | 51 | <div id="jd-content" itemprop="description"> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 52 | |
| 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 Dougherty | 3d3d7b7 | 2009-10-21 19:52:52 -0700 | [diff] [blame] | 56 | <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] | 57 | </div> |
| 58 | <?cs /if ?> |
Dirk Dougherty | e6be85f | 2009-06-24 11:01:03 -0700 | [diff] [blame] | 59 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 60 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 61 | <?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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 77 | |
Scott Main | 25659b0 | 2012-06-22 17:02:25 -0700 | [diff] [blame] | 78 | <table class="download" id="download-table"> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 79 | <tr> |
David Friedman | 81415ad | 2014-07-15 11:38:40 -0700 | [diff] [blame] | 80 | <th>Platform<br>(32-bit target)</th> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 81 | <th>Package</th> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 82 | <th style="white-space:nowrap">Size (Bytes)</th> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 83 | <th>MD5 Checksum</th> |
| 84 | </tr> |
| 85 | <tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 86 | <td>Windows 32-bit</td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 87 | <td> |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 88 | <a onClick="return onDownload(this)" |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 89 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win32_download ?>"><?cs var:ndk.win32_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 90 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 91 | <td><?cs var:ndk.win32_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 92 | <td><?cs var:ndk.win32_checksum ?></td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 93 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 94 | <!-- <tr> |
| 95 | <td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 96 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 97 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win32.legacy_download ?>"><?cs var:ndk.win32.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 98 | </td> |
| 99 | <td><?cs var:ndk.win32.legacy_bytes ?></td> |
| 100 | <td><?cs var:ndk.win32.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 101 | </tr> --> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 102 | <tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 103 | <td>Windows 64-bit</td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 104 | <td> |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 105 | <a onClick="return onDownload(this)" |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 106 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win64_download ?>"><?cs var:ndk.win64_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 107 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 108 | <td><?cs var:ndk.win64_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 109 | <td><?cs var:ndk.win64_checksum ?></td> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 110 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 111 | <!-- <tr> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 112 | <td> |
| 113 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 114 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win64.legacy_download ?>"><?cs var:ndk.win64.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 115 | </td> |
| 116 | <td><?cs var:ndk.win64.legacy_bytes ?></td> |
| 117 | <td><?cs var:ndk.win64.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 118 | </tr> --> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 119 | <tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 120 | <td>Mac OS X 32-bit</td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 121 | <td> |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 122 | <a onClick="return onDownload(this)" |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 123 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32_download ?>"><?cs var:ndk.mac32_download ?></a> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 124 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 125 | <td><?cs var:ndk.mac32_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 126 | <td><?cs var:ndk.mac32_checksum ?></td> |
| 127 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 128 | <!-- <tr> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 129 | <td> |
| 130 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 131 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32.legacy_download ?>"><?cs var:ndk.mac32.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 132 | </td> |
| 133 | <td><?cs var:ndk.mac32.legacy_bytes ?></td> |
| 134 | <td><?cs var:ndk.mac32.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 135 | </tr> --> |
| 136 | <td>Mac OS X 64-bit</td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 137 | <td> |
| 138 | <a onClick="return onDownload(this)" |
| 139 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64_download ?>"><?cs var:ndk.mac64_download ?></a> |
| 140 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 141 | <td><?cs var:ndk.mac64_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 142 | <td><?cs var:ndk.mac64_checksum ?></td> |
| 143 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 144 | <!-- <tr> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 145 | <td> |
| 146 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 147 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64.legacy_download ?>"><?cs var:ndk.mac64.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 148 | </td> |
| 149 | <td><?cs var:ndk.mac64.legacy_bytes ?></td> |
| 150 | <td><?cs var:ndk.mac64.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 151 | </tr> --> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 152 | <tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 153 | <td>Linux 32-bit (x86)</td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 154 | <td> |
| 155 | <a onClick="return onDownload(this)" |
| 156 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32_download ?>"><?cs var:ndk.linux32_download ?></a> |
| 157 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 158 | <td><?cs var:ndk.linux32_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 159 | <td><?cs var:ndk.linux32_checksum ?></td> |
| 160 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 161 | <!-- <tr> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 162 | <td> |
| 163 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 164 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32.legacy_download ?>"><?cs var:ndk.linux32.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 165 | </td> |
| 166 | <td><?cs var:ndk.linux32.legacy_bytes ?></td> |
| 167 | <td><?cs var:ndk.linux32.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 168 | </tr> --> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 169 | <tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 170 | <td>Linux 64-bit (x86)</td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 171 | <td> |
| 172 | <a onClick="return onDownload(this)" |
| 173 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64_download ?>"><?cs var:ndk.linux64_download ?></a> |
| 174 | </td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 175 | <td><?cs var:ndk.linux64_bytes ?></td> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 176 | <td><?cs var:ndk.linux64_checksum ?></td> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 177 | </tr> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 178 | <!-- <tr> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 179 | <td> |
| 180 | <a onClick="return onDownload(this)" |
Joe Fernandez | 8d93690 | 2013-07-25 17:05:06 -0700 | [diff] [blame] | 181 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64.legacy_download ?>"><?cs var:ndk.linux64.legacy_download ?></a> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 182 | </td> |
| 183 | <td><?cs var:ndk.linux64.legacy_bytes ?></td> |
| 184 | <td><?cs var:ndk.linux64.legacy_checksum ?></td> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 185 | </tr> --> |
David Friedman | 81415ad | 2014-07-15 11:38:40 -0700 | [diff] [blame] | 186 | |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 187 | <tr> |
David Friedman | 81415ad | 2014-07-15 11:38:40 -0700 | [diff] [blame] | 188 | <th>Platform<br>(64-bit target)</th> |
| 189 | <th>Package</th> |
| 190 | <th style="white-space:nowrap">Size (Bytes)</th> |
| 191 | <th>MD5 Checksum</th> |
| 192 | </tr> |
| 193 | <tr> |
| 194 | <td>Windows 32-bit</td> |
| 195 | <td> |
| 196 | <a onClick="return onDownload(this)" |
| 197 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win32_64_download ?>"><?cs var:ndk.win32_64_download ?></a> |
| 198 | </td> |
| 199 | <td><?cs var:ndk.win32_64_bytes ?></td> |
| 200 | <td><?cs var:ndk.win32_64_checksum ?></td> |
| 201 | </tr> |
| 202 | <!-- <tr> |
| 203 | <td> |
| 204 | <a onClick="return onDownload(this)" |
| 205 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win32.legacy_download ?>"><?cs var:ndk.win32.legacy_download ?></a> |
| 206 | </td> |
| 207 | <td><?cs var:ndk.win32.legacy_bytes ?></td> |
| 208 | <td><?cs var:ndk.win32.legacy_checksum ?></td> |
| 209 | </tr> --> |
| 210 | <tr> |
| 211 | <td>Windows 64-bit</td> |
| 212 | <td> |
| 213 | <a onClick="return onDownload(this)" |
| 214 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win64_64_download ?>"><?cs var:ndk.win64_64_download ?></a> |
| 215 | </td> |
| 216 | <td><?cs var:ndk.win64_64_bytes ?></td> |
| 217 | <td><?cs var:ndk.win64_64_checksum ?></td> |
| 218 | </tr> |
| 219 | <!-- <tr> |
| 220 | <td> |
| 221 | <a onClick="return onDownload(this)" |
| 222 | href="http://dl.google.com/android/ndk/<?cs var:ndk.win64.legacy_download ?>"><?cs var:ndk.win64.legacy_download ?></a> |
| 223 | </td> |
| 224 | <td><?cs var:ndk.win64.legacy_bytes ?></td> |
| 225 | <td><?cs var:ndk.win64.legacy_checksum ?></td> |
| 226 | </tr> --> |
| 227 | <tr> |
| 228 | <td>Mac OS X 32-bit</td> |
| 229 | <td> |
| 230 | <a onClick="return onDownload(this)" |
| 231 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32_64_download ?>"><?cs var:ndk.mac32_64_download ?></a> |
| 232 | </td> |
| 233 | <td><?cs var:ndk.mac32_64_bytes ?></td> |
| 234 | <td><?cs var:ndk.mac32_64_checksum ?></td> |
| 235 | </tr> |
| 236 | <!-- <tr> |
| 237 | <td> |
| 238 | <a onClick="return onDownload(this)" |
| 239 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32.legacy_download ?>"><?cs var:ndk.mac32.legacy_download ?></a> |
| 240 | </td> |
| 241 | <td><?cs var:ndk.mac32.legacy_bytes ?></td> |
| 242 | <td><?cs var:ndk.mac32.legacy_checksum ?></td> |
| 243 | </tr> --> |
| 244 | <td>Mac OS X 64-bit</td> |
| 245 | <td> |
| 246 | <a onClick="return onDownload(this)" |
| 247 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64_64_download ?>"><?cs var:ndk.mac64_64_download ?></a> |
| 248 | </td> |
| 249 | <td><?cs var:ndk.mac64_64_bytes ?></td> |
| 250 | <td><?cs var:ndk.mac64_64_checksum ?></td> |
| 251 | </tr> |
| 252 | <!-- <tr> |
| 253 | <td> |
| 254 | <a onClick="return onDownload(this)" |
| 255 | href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64.legacy_download ?>"><?cs var:ndk.mac64.legacy_download ?></a> |
| 256 | </td> |
| 257 | <td><?cs var:ndk.mac64.legacy_bytes ?></td> |
| 258 | <td><?cs var:ndk.mac64.legacy_checksum ?></td> |
| 259 | </tr> --> |
| 260 | <tr> |
| 261 | <td>Linux 32-bit (x86)</td> |
| 262 | <td> |
| 263 | <a onClick="return onDownload(this)" |
| 264 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32_64_download ?>"><?cs var:ndk.linux32_64_download ?></a> |
| 265 | </td> |
| 266 | <td><?cs var:ndk.linux32_64_bytes ?></td> |
| 267 | <td><?cs var:ndk.linux32_64_checksum ?></td> |
| 268 | </tr> |
| 269 | <!-- <tr> |
| 270 | <td> |
| 271 | <a onClick="return onDownload(this)" |
| 272 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32.legacy_download ?>"><?cs var:ndk.linux32.legacy_download ?></a> |
| 273 | </td> |
| 274 | <td><?cs var:ndk.linux32.legacy_bytes ?></td> |
| 275 | <td><?cs var:ndk.linux32.legacy_checksum ?></td> |
| 276 | </tr> --> |
| 277 | <tr> |
| 278 | <td>Linux 64-bit (x86)</td> |
| 279 | <td> |
| 280 | <a onClick="return onDownload(this)" |
| 281 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64_64_download ?>"><?cs var:ndk.linux64_64_download ?></a> |
| 282 | </td> |
| 283 | <td><?cs var:ndk.linux64_64_bytes ?></td> |
| 284 | <td><?cs var:ndk.linux64_64_checksum ?></td> |
| 285 | </tr> |
| 286 | <!-- <tr> |
| 287 | <td> |
| 288 | <a onClick="return onDownload(this)" |
| 289 | href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64.legacy_download ?>"><?cs var:ndk.linux64.legacy_download ?></a> |
| 290 | </td> |
| 291 | <td><?cs var:ndk.linux64.legacy_bytes ?></td> |
| 292 | <td><?cs var:ndk.linux64.legacy_checksum ?></td> |
| 293 | </tr> --> |
| 294 | |
| 295 | <tr> |
| 296 | <th>Additional Download<br>(32-, 64-bit)</th> |
David Friedman | 612a88b | 2013-12-06 02:23:14 -0800 | [diff] [blame] | 297 | <th>Package</th> |
| 298 | <th style="white-space:nowrap">Size (Bytes)</th> |
| 299 | <th>MD5 Checksum</th> |
| 300 | </tr> |
| 301 | <tr> |
| 302 | <td>STL debug info</td> |
| 303 | <td> |
| 304 | <a onClick="return onDownload(this)" |
| 305 | href="http://dl.google.com/android/ndk/<?cs var:ndk.debug_info_download ?>"><?cs var:ndk.debug_info_download ?></a> |
| 306 | </td> |
| 307 | <td><?cs var:ndk.debug_info_bytes ?></td> |
| 308 | <td><?cs var:ndk.debug_info_checksum ?></td> |
Dirk Dougherty | 48e3f1d | 2013-07-25 15:26:07 -0700 | [diff] [blame] | 309 | </tr> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 310 | </table> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 311 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 312 | <?cs ######## HERE IS THE JD DOC CONTENT ######### ?> |
| 313 | <?cs call:tag_list(root.descr) ?> |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 314 | |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 315 | |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 316 | |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 317 | <script> |
| 318 | function onDownload(link) { |
| 319 | |
| 320 | $("#downloadForRealz").html("Download " + $(link).text()); |
| 321 | $("#downloadForRealz").attr('href',$(link).attr('href')); |
| 322 | |
| 323 | $("#tos").fadeIn('slow'); |
| 324 | |
| 325 | location.hash = "download"; |
| 326 | return false; |
| 327 | } |
| 328 | |
| 329 | |
| 330 | function onAgreeChecked() { |
| 331 | if ($("input#agree").is(":checked")) { |
| 332 | $("a#downloadForRealz").removeClass('disabled'); |
| 333 | } else { |
| 334 | $("a#downloadForRealz").addClass('disabled'); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | function onDownloadNdkForRealz(link) { |
| 339 | if ($("input#agree").is(':checked')) { |
| 340 | $("#tos").fadeOut('slow'); |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 341 | |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 342 | $('html, body').animate({ |
| 343 | scrollTop: $("#Installing").offset().top |
| 344 | }, 800, function() { |
| 345 | $("#Installing").click(); |
| 346 | }); |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 347 | |
Scott Main | 098d8de | 2012-11-13 11:25:06 -0800 | [diff] [blame] | 348 | return true; |
| 349 | } else { |
| 350 | $("label#agreeLabel").parent().stop().animate({color: "#258AAF"}, 200, |
| 351 | function() {$("label#agreeLabel").parent().stop().animate({color: "#222"}, 200)} |
| 352 | ); |
| 353 | return false; |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | $(window).hashchange( function(){ |
| 358 | if (location.hash == "") { |
| 359 | location.reload(); |
| 360 | } |
| 361 | }); |
| 362 | |
| 363 | </script> |
| 364 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 365 | <?cs else ?> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 366 | <?cs # end if NDK ... |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 367 | # |
| 368 | # |
| 369 | # |
| 370 | # |
| 371 | # |
| 372 | # |
| 373 | # the following is for the SDK |
| 374 | # |
| 375 | # (nested in if/else redirect and if/else NDK) |
| 376 | # |
| 377 | # |
| 378 | # |
| 379 | # |
| 380 | ?> |
Scott Main | b73777e | 2010-11-22 15:02:01 -0800 | [diff] [blame] | 381 | <?cs if:android.whichdoc == "online" ?> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 382 | |
Dirk Dougherty | 4b2eb97 | 2010-03-08 17:31:26 -0800 | [diff] [blame] | 383 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 384 | <?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?> |
| 385 | <?cs call:tag_list(root.descr) ?> |
Dirk Dougherty | 4b2eb97 | 2010-03-08 17:31:26 -0800 | [diff] [blame] | 386 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 387 | |
| 388 | |
| 389 | |
Scott Main | 55d9983 | 2012-11-12 23:03:59 -0800 | [diff] [blame] | 390 | <h4><a href='' class="expandable" |
| 391 | onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;" |
smain@google.com | e39012b | 2014-06-13 11:41:28 -0700 | [diff] [blame] | 392 | >VIEW ALL DOWNLOADS AND SIZES</a></h4> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 393 | |
| 394 | |
Scott Main | 55d9983 | 2012-11-12 23:03:59 -0800 | [diff] [blame] | 395 | <div class="pax col-13 online" style="display:none;margin:0;"> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 396 | |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 397 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 398 | <p class="table-caption"><strong>ADT Bundle</strong></p> |
| 399 | <table class="download"> |
| 400 | <tr> |
| 401 | <th>Platform</th> |
| 402 | <th>Package</th> |
| 403 | <th>Size</th> |
| 404 | <th>MD5 Checksum</th> |
| 405 | </tr> |
| 406 | <tr> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 407 | <td>Windows 32-bit</td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 408 | <td> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 409 | <a onClick="return onDownload(this)" id="win-bundle32" |
Ricardo Cervera | 54d2ca3 | 2014-08-27 08:48:49 -0700 | [diff] [blame] | 410 | href="https://dl.google.com/android/adt/<?cs var:sdk.win32_bundle_download ?>"><?cs var:sdk.win32_bundle_download ?></a> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 411 | </td> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 412 | <td><?cs var:sdk.win32_bundle_bytes ?> bytes</td> |
| 413 | <td><?cs var:sdk.win32_bundle_checksum ?></td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 414 | </tr> |
| 415 | <tr> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 416 | <td>Windows 64-bit</td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 417 | <td> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 418 | <a onClick="return onDownload(this)" id="win-bundle64" |
Ricardo Cervera | 54d2ca3 | 2014-08-27 08:48:49 -0700 | [diff] [blame] | 419 | href="https://dl.google.com/android/adt/<?cs var:sdk.win64_bundle_download ?>"><?cs var:sdk.win64_bundle_download ?></a> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 420 | </td> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 421 | <td><?cs var:sdk.win64_bundle_bytes ?> bytes</td> |
| 422 | <td><?cs var:sdk.win64_bundle_checksum ?></td> |
| 423 | </tr> |
| 424 | <tr> |
| 425 | <td><nobr>Mac OS X 64-bit</nobr></td> |
| 426 | <td> |
| 427 | <a onClick="return onDownload(this)" id="mac-bundle64" |
Ricardo Cervera | 54d2ca3 | 2014-08-27 08:48:49 -0700 | [diff] [blame] | 428 | href="https://dl.google.com/android/adt/<?cs var:sdk.mac64_bundle_download ?>"><?cs var:sdk.mac64_bundle_download ?></a> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 429 | </td> |
| 430 | <td><?cs var:sdk.mac64_bundle_bytes ?> bytes</td> |
| 431 | <td><?cs var:sdk.mac64_bundle_checksum ?></td> |
| 432 | </tr> |
| 433 | <tr> |
| 434 | <td>Linux 32-bit</td> |
| 435 | <td> |
| 436 | <a onClick="return onDownload(this)" id="linux-bundle32" |
Ricardo Cervera | 54d2ca3 | 2014-08-27 08:48:49 -0700 | [diff] [blame] | 437 | href="https://dl.google.com/android/adt/<?cs var:sdk.linux32_bundle_download ?>"><?cs var:sdk.linux32_bundle_download ?></a> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 438 | </td> |
| 439 | <td><?cs var:sdk.linux32_bundle_bytes ?> bytes</td> |
| 440 | <td><?cs var:sdk.linux32_bundle_checksum ?></td> |
| 441 | </tr> |
| 442 | <tr> |
| 443 | <td>Linux 64-bit</td> |
| 444 | <td> |
| 445 | <a onClick="return onDownload(this)" id="linux-bundle64" |
Ricardo Cervera | 54d2ca3 | 2014-08-27 08:48:49 -0700 | [diff] [blame] | 446 | href="https://dl.google.com/android/adt/<?cs var:sdk.linux64_bundle_download ?>"><?cs var:sdk.linux64_bundle_download ?></a> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 447 | </td> |
| 448 | <td><?cs var:sdk.linux64_bundle_bytes ?> bytes</td> |
| 449 | <td><?cs var:sdk.linux64_bundle_checksum ?></td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 450 | </tr> |
| 451 | </table> |
| 452 | |
| 453 | |
| 454 | <p class="table-caption"><strong>SDK Tools Only</strong></p> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 455 | <table class="download"> |
| 456 | <tr> |
| 457 | <th>Platform</th> |
| 458 | <th>Package</th> |
| 459 | <th>Size</th> |
| 460 | <th>MD5 Checksum</th> |
| 461 | </tr> |
| 462 | <tr> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 463 | <td rowspan="2">Windows<br>32 & 64-bit</td> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 464 | <td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 465 | <a onclick="return onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 466 | ?>"><?cs var:sdk.win_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 467 | </td> |
| 468 | <td><?cs var:sdk.win_bytes ?> bytes</td> |
| 469 | <td><?cs var:sdk.win_checksum ?></td> |
| 470 | </tr> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 471 | <tr> |
| 472 | <!-- blank TD from Windows rowspan --> |
| 473 | <td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 474 | <a onclick="return onDownload(this)" id="win-tools" href="http://dl.google.com/android/<?cs |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 475 | var:sdk.win_installer |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 476 | ?>"><?cs var:sdk.win_installer ?></a> (Recommended) |
| 477 | </td> |
| 478 | <td><?cs var:sdk.win_installer_bytes ?> bytes</td> |
| 479 | <td><?cs var:sdk.win_installer_checksum ?></td> |
| 480 | </tr> |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 481 | <tr> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 482 | <td><nobr>Mac OS X</nobr><br>32 & 64-bit</td> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 483 | <td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 484 | <a onclick="return onDownload(this)" id="mac-tools" href="http://dl.google.com/android/<?cs |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 485 | var:sdk.mac_download |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 486 | ?>"><?cs var:sdk.mac_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 487 | </td> |
| 488 | <td><?cs var:sdk.mac_bytes ?> bytes</td> |
| 489 | <td><?cs var:sdk.mac_checksum ?></td> |
| 490 | </tr> |
| 491 | <tr> |
Scott Main | a230345 | 2013-03-18 11:31:15 -0700 | [diff] [blame] | 492 | <td>Linux<br>32 & 64-bit</td> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 493 | <td> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 494 | <a onclick="return onDownload(this)" id="linux-tools" href="http://dl.google.com/android/<?cs |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 495 | var:sdk.linux_download |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 496 | ?>"><?cs var:sdk.linux_download ?></a> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 497 | </td> |
| 498 | <td><?cs var:sdk.linux_bytes ?> bytes</td> |
| 499 | <td><?cs var:sdk.linux_checksum ?></td> |
| 500 | </tr> |
| 501 | </table> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 502 | |
Scott Main | 55d9983 | 2012-11-12 23:03:59 -0800 | [diff] [blame] | 503 | </div><!-- end pax --> |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 504 | |
| 505 | |
Scott Main | 55d9983 | 2012-11-12 23:03:59 -0800 | [diff] [blame] | 506 | |
| 507 | </div><!-- end col-13 for lower-half content --> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 508 | |
| 509 | |
| 510 | |
| 511 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 512 | <script> |
Scott Main | 55d9983 | 2012-11-12 23:03:59 -0800 | [diff] [blame] | 513 | if (location.hash == "#Requirements") { |
| 514 | $('.reqs').show(); |
| 515 | } else if (location.hash == "#ExistingIDE") { |
| 516 | $('.ide').show(); |
| 517 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 518 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 519 | var os; |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 520 | var bundlename; |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 521 | var $toolslink; |
| 522 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 523 | if (navigator.appVersion.indexOf("Win")!=-1) { |
| 524 | os = "Windows"; |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 525 | bundlename = '#win-bundle'; |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 526 | $toolslink = $('#win-tools'); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 527 | } else if (navigator.appVersion.indexOf("Mac")!=-1) { |
| 528 | os = "Mac"; |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 529 | bundlename = '#mac-bundle'; |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 530 | $toolslink = $('#mac-tools'); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 531 | } else if (navigator.appVersion.indexOf("Linux")!=-1) { |
| 532 | os = "Linux"; |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 533 | bundlename = '#linux-bundle'; |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 534 | $toolslink = $('#linux-tools'); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 535 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 536 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 537 | if (os) { |
Scott Main | f973ced | 2012-06-28 11:56:01 -0700 | [diff] [blame] | 538 | $('#not-supported').hide(); |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 539 | |
| 540 | /* set up primary adt download button */ |
| 541 | $('#download-bundle-button').show(); |
smain@google.com | e39012b | 2014-06-13 11:41:28 -0700 | [diff] [blame] | 542 | $('#download-bundle-button').append("Download Eclipse ADT <br/><span class='small'>with the Android SDK for " + os + "</span>"); |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 543 | $('#download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename); |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 544 | |
| 545 | /* set up sdk tools only button */ |
| 546 | $('#download-tools-button').show(); |
smain@google.com | e39012b | 2014-06-13 11:41:28 -0700 | [diff] [blame] | 547 | $('#download-tools-button').append("Download the stand-alone Android SDK Tools for " + os); |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 548 | $('#download-tools-button').click(function() {return onDownload(this,true);}).attr('href', $toolslink.attr('href')); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 549 | } else { |
| 550 | $('.pax').show(); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 551 | } |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 552 | |
| 553 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 554 | function onDownload(link, button, bundle) { |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 555 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 556 | /* set text for download button */ |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 557 | if (button) { |
| 558 | $("#downloadForRealz").html($(link).text()); |
| 559 | } else { |
| 560 | $("#downloadForRealz").html("Download " + $(link).text()); |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 561 | } |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 562 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 563 | /* if it's a bundle, show the 32/64-bit picker */ |
| 564 | if (bundle) { |
| 565 | $("#downloadForRealz").attr('bundle','true'); |
| 566 | if ($("#downloadForRealz").text().indexOf("Mac") == -1) { |
| 567 | $("p#bitpicker").show(); |
| 568 | } else { |
| 569 | /* mac is always 64 bit, so set it checked */ |
| 570 | $("p#bitpicker input[value=64]").attr('checked', true); |
| 571 | } |
| 572 | /* save link name until the bit version is chosen */ |
| 573 | $("#downloadForRealz").attr('name',$(link).attr('href')); |
| 574 | } else { |
| 575 | /* if not using bundle, set download button to ignore bitpicker and set url */ |
| 576 | $("#downloadForRealz").attr('bundle','false'); |
| 577 | $("#downloadForRealz").attr('href',$(link).attr('href')); |
| 578 | /* set picker checked as a fake default */ |
| 579 | $("p#bitpicker input[value=64]").attr('checked', true); |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 580 | $("a#next-link").html("Setting Up an Existing IDE").attr('href',toRoot + 'sdk/installing/index.html'); |
| 581 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 582 | |
| 583 | $("#tos").fadeIn('fast'); |
| 584 | $("#landing").fadeOut('fast'); |
| 585 | |
| 586 | location.hash = "download"; |
| 587 | return false; |
| 588 | } |
| 589 | |
| 590 | |
| 591 | function onAgreeChecked() { |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 592 | /* verify that the TOS is agreed and a bit version is chosen */ |
| 593 | if ($("input#agree").is(":checked") && $("#bitpicker input:checked").length) { |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 594 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 595 | /* if downloading the bundle */ |
| 596 | if ($("#downloadForRealz").attr('bundle')) { |
| 597 | /* construct the name of the link we want based on the bit version */ |
| 598 | linkId = $("a#downloadForRealz").attr("name") + $("#bitpicker input:checked").val(); |
| 599 | /* set the real url for download */ |
| 600 | $("a#downloadForRealz").attr("href", $(linkId).attr("href")); |
| 601 | } |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 602 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 603 | /* reveal the download button */ |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 604 | $("a#downloadForRealz").removeClass('disabled'); |
| 605 | } else { |
| 606 | $("a#downloadForRealz").addClass('disabled'); |
| 607 | } |
| 608 | } |
| 609 | |
| 610 | function onDownloadForRealz(link) { |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 611 | if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) { |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 612 | $("div.sdk-terms").slideUp(); |
smain@google.com | 95948b8 | 2014-06-16 19:24:25 -0700 | [diff] [blame] | 613 | $("h1#tos-header").text('Now redirecting to the install instructions...'); |
Scott Main | c29b3f5 | 2014-05-30 21:18:30 -0700 | [diff] [blame] | 614 | $("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow', function() { |
| 615 | setTimeout(function() { |
| 616 | if ($("#downloadForRealz").attr('bundle') == 'true') { |
| 617 | // User downloaded the ADT Bundle |
| 618 | window.location = "/sdk/installing/index.html?pkg=adt"; |
| 619 | } else { |
| 620 | // User downloaded the SDK Tools |
| 621 | window.location = "/sdk/installing/index.html?pkg=tools"; |
| 622 | } |
| 623 | }, 500); |
| 624 | }); |
Scott Main | c9418f4 | 2013-11-20 12:52:22 -0800 | [diff] [blame] | 625 | _gaq.push(['_trackEvent', 'SDK', 'ADT and Tools', $("#downloadForRealz").html()]); |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 626 | return true; |
| 627 | } else { |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 628 | $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200, |
| 629 | function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)} |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 630 | ); |
| 631 | return false; |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | $(window).hashchange( function(){ |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 636 | if (location.hash == "") { |
| 637 | location.reload(); |
| 638 | } |
| 639 | }); |
| 640 | |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 641 | </script> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 642 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 643 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 644 | |
| 645 | </div><!-- end the wrapper used for relative/absolute positions --> |
| 646 | <?cs # THIS DIV WAS OPENED IN INDEX.JD ?> |
| 647 | |
| 648 | |
| 649 | |
| 650 | |
Scott Main | 58286dc | 2011-01-17 18:23:21 -0800 | [diff] [blame] | 651 | <?cs else ?> <?cs # end if online ?> |
Scott Main | a1b358a | 2010-06-24 16:36:54 -0700 | [diff] [blame] | 652 | |
Scott Main | 17e47ad | 2011-05-27 09:52:19 -0700 | [diff] [blame] | 653 | <?cs if:sdk.preview ?><?cs # it's preview offline docs ?> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 654 | <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming |
| 655 | Android 3.0 release, to give you a head-start on developing applications for it. |
| 656 | </p> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 657 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 658 | <p>See the <a |
| 659 | href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information |
| 660 | about how to set up the preview SDK and get started.</p> |
| 661 | <style type="text/css"> |
| 662 | .non-preview { display:none; } |
| 663 | </style> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 664 | |
Scott Main | 17e47ad | 2011-05-27 09:52:19 -0700 | [diff] [blame] | 665 | <?cs else ?><?cs # it's normal offline docs ?> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 666 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 667 | <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?> |
| 668 | <?cs call:tag_list(root.descr) ?> |
Scott Main | 17e47ad | 2011-05-27 09:52:19 -0700 | [diff] [blame] | 669 | <style type="text/css"> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 670 | body .offline { display:block; } |
| 671 | body .online { display:none; } |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 672 | </style> |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 673 | <script> |
| 674 | $('.reqs').show(); |
| 675 | </script> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 676 | <?cs /if ?> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 677 | |
Scott Main | 58286dc | 2011-01-17 18:23:21 -0800 | [diff] [blame] | 678 | <?cs /if ?> <?cs # end if/else online ?> |
Ricardo Cervera | fd0be92 | 2014-03-25 12:33:33 -0700 | [diff] [blame] | 679 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 680 | <?cs /if ?> <?cs # end if/else NDK ?> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 681 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 682 | <?cs /if ?> <?cs # end if/else redirect ?> |
Dirk Dougherty | 82a2881 | 2009-08-05 19:09:16 -0700 | [diff] [blame] | 683 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 684 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 685 | </div><!-- end jd-content --> |
| 686 | |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 687 | <?cs if:!sdk.redirect ?> |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 688 | <?cs include:"footer.cs" ?> |
Dirk Dougherty | 19a4bd1 | 2009-04-24 11:30:32 -0700 | [diff] [blame] | 689 | <?cs /if ?> |
| 690 | |
Scott Main | cc08909 | 2011-01-17 16:44:10 -0800 | [diff] [blame] | 691 | </div><!-- end g-unit --> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 692 | |
| 693 | <?cs include:"trailer.cs" ?> |
| 694 | |
Dirk Dougherty | 8f6949b | 2013-12-03 18:49:24 -0800 | [diff] [blame] | 695 | <!-- Start of Tag --> |
| 696 | <script type="text/javascript"> |
| 697 | var axel = Math.random() + ""; |
| 698 | var a = axel * 10000000000000; |
| 699 | document.write('<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>'); |
| 700 | </script> |
| 701 | <noscript> |
| 702 | <iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe> |
| 703 | </noscript> |
| 704 | <!-- End of Tag --> |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 705 | </body> |
| 706 | </html> |
| 707 | |
| 708 | |
| 709 | |