-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
456 lines (343 loc) · 16.3 KB
/
Copy pathindex.html
File metadata and controls
456 lines (343 loc) · 16.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
<title>Android Developers</title>
<link href="./assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<script src="./assets/search_autocomplete.js" type="text/javascript"></script>
<script src="./assets/jquery-resizable.min.js" type="text/javascript"></script>
<script src="./assets/android-developer-docs.js" type="text/javascript"></script>
<script src="./assets/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
setToRoot("./");
</script>
<noscript>
<style type="text/css">
html,body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
</head>
<body class="gc-documentation">
<a name="top"></a>
<div id="header">
<div id="headerLeft">
<a href="./index.html" tabindex="-1"><img
src="./assets/images/bg_logo.png" alt="Android Developers" /></a>
<ul id="header-tabs" class="home">
<li id="home-link"><a href="./offline.html">
<span class="en">Home</span>
<span style="display:none" class="de">Startseite</span>
<span style="display:none" class="es"></span>
<span style="display:none" class="fr"></span>
<span style="display:none" class="it"></span>
<span style="display:none" class="ja">ホーム</span>
<span style="display:none" class="zh-CN">主页</span>
<span style="display:none" class="zh-TW">首頁</span>
</a></li>
<li id="sdk-link"><a href="./sdk/index.html">
<span class="en">SDK</span>
</a></li>
<li id="guide-link"><a href="./guide/index.html" onClick="return loadLast('guide')">
<span class="en">Dev Guide</span>
<span style="display:none" class="de">Handbuch</span>
<span style="display:none" class="es">Guía</span>
<span style="display:none" class="fr">Guide</span>
<span style="display:none" class="it">Guida</span>
<span style="display:none" class="ja">開発ガイド</span>
<span style="display:none" class="zh-CN">开发人员指南</span>
<span style="display:none" class="zh-TW">開發指南</span>
</a></li>
<li id="reference-link"><a href="./reference/packages.html" onClick="return loadLast('reference')">
<span class="en">Reference</span>
<span style="display:none" class="de">Referenz</span>
<span style="display:none" class="es">Referencia</span>
<span style="display:none" class="fr">Référence</span>
<span style="display:none" class="it">Riferimento</span>
<span style="display:none" class="ja">リファレンス</span>
<span style="display:none" class="zh-CN">参考</span>
<span style="display:none" class="zh-TW">參考資料</span>
</a></li>
<li id="resources-link"><a href="./resources/index.html" onClick="return loadLast('resources')">
<span class="en">Resources</span>
<span style="display:none" class="de"></span>
<span style="display:none" class="es"></span>
<span style="display:none" class="fr"></span>
<span style="display:none" class="it"></span>
<span style="display:none" class="ja"></span>
<span style="display:none" class="zh-CN"></span>
<span style="display:none" class="zh-TW"></span>
</a></li>
<li id="videos-link"><a href="./videos/index.html" onClick="return loadLast('videos')">
<span class="en">Videos</span>
<span style="display:none" class="de"></span>
<span style="display:none" class="es"></span>
<span style="display:none" class="fr"></span>
<span style="display:none" class="it"></span>
<span style="display:none" class="ja">ビデオ</span>
<span style="display:none" class="zh-CN"></span>
<span style="display:none" class="zh-TW"></span>
</a></li>
<li><a href="http://android-developers.blogspot.com" onClick="return requestAppendHL(this.href)">
<span class="en">Blog</span>
<span style="display:none" class="de"></span>
<span style="display:none" class="es"></span>
<span style="display:none" class="fr"></span>
<span style="display:none" class="it"></span>
<span style="display:none" class="ja">ブログ</span>
<span style="display:none" class="zh-CN">博客</span>
<span style="display:none" class="zh-TW">網誌</span>
</a></li>
</ul>
</div>
<div id="headerRight">
<div id="headerLinks">
<a href="http://www.android.com">Android.com</a>
</div>
<div id="search" >
<div id="searchForm">
<form accept-charset="utf-8" class="gsc-search-box"
onsubmit="return submit_search()">
<table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td class="gsc-input">
<input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
title="search developer docs" name="q"
value="search developer docs"
onFocus="search_focus_changed(this, true)"
onBlur="search_focus_changed(this, false)"
onkeydown="return search_changed(event, true, './')"
onkeyup="return search_changed(event, false, './')" />
<div id="search_filtered_div" class="no-display">
<table id="search_filtered" cellspacing=0>
</table>
</div>
</td>
<td class="gsc-search-button">
<input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
</td>
<td class="gsc-clear-button">
<div title="clear results" class="gsc-clear-button"> </div>
</td>
</tr></tbody>
</table>
</form>
</div><!-- searchForm -->
</div><!-- search -->
</div><!-- headerRight -->
<script type="text/javascript">
<!--
changeTabLang(getLangPref());
//-->
</script>
</div><!-- header -->
<div id="body-content">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFixed">
<div id="mainBodyLeft">
<div id="homeMiddle">
<div id="topAnnouncement">
<div id="homeTitle">
<h2>Developer Announcements</h2>
</div><!-- end homeTitle -->
<div id="announcement-block">
<!-- total max width is 520px -->
<img src="./images/home/market_icon.png"
alt="Android Market" width="120px" style="padding:10px 53px 5px"/>
<div id="announcement" style="width:275px">
<p>We've completely redesigned Android Market for phones to make it easier to
explore Android apps, games, and other content. Look for the new version coming to your
Android phone!</p> <p><a
href="http://android-developers.blogspot.com/2011/07/new-android-market-for-phones.html">Learn more
»</a></p>
</div> <!-- end annoucement -->
</div> <!-- end annoucement-block -->
</div><!-- end topAnnouncement -->
<div id="carouselMain" style="height:205px"> <!-- this height can be
adjusted based on the content height -->
</div>
<div class="clearer"></div>
<div id="carouselWheel">
<div class="app-list-container" align="center">
<a href="javascript:{}" id="arrow-left" onclick="" class="arrow-left-off"></a>
<div id="list-clip">
<div style="left: 0px;" id="app-list">
<!-- populated by buildCarousel() -->
</div>
</div><!-- end list-clip -->
<a href="javascript:{ page_right(); }" id="arrow-right" onclick="" class="arrow-right-on"></a>
<div class="clearer"></div>
</div><!-- end app-list container -->
</div><!-- end carouselWheel -->
</div><!-- end homeMiddle -->
<div style="clear:both"> </div>
</div><!-- end mainBodyLeft -->
<div id="mainBodyRight">
<table id="rightColumn">
<tr>
<td class="imageCell"><a href="./sdk/index.html"><img src="./assets/images/icon_download.jpg" style="padding:0" /></a></td>
<td>
<h2 class="green">Download</h2>
<p>The Android SDK has the tools, sample code, and docs you need to create great apps.</p>
<p><a href="./sdk/index.html">Learn more »</a></p>
</td>
</tr>
<tr>
<td colspan="2"><div class="seperator"> </div></td>
</tr>
<tr>
<td class="imageCell"><a href="http://www.android.com/market.html"><img src="./assets/images/icon_market.jpg" style="padding:0" /></a></td>
<td>
<h2 class="green">Publish</h2>
<p>Android Market is an open service that lets you distribute your apps to handsets.</p>
<p><a href="http://market.android.com/publish">Learn more »</a></p>
</td>
</tr>
<tr>
<td colspan="2"><div class="seperator"> </div></td>
</tr>
<tr>
<td class="imageCell"><a href="http://source.android.com"><img src="./assets/images/icon_contribute.jpg" style="padding:0" /></a></td>
<td>
<h2 class="green">Contribute</h2>
<p>Android Open Source Project gives you access to the entire platform source.</p>
<p><a href="http://source.android.com">Learn more »</a></p>
</td>
</tr>
<tr>
<td colspan="2"><div class="seperator"> </div></td>
</tr>
<tr>
<td class="imageCell"><a
href="./resources/dashboard/platform-versions.html"><img
src="./images/icon_dashboard.png" style="padding:0" /></a></td>
<td>
<h2 class="green">Target Devices</h2>
<p>The Device Dashboard
provides information about deployed Android devices to
help you target suitable device configurations as you build and update your
apps.</p>
<p><a
href="./resources/dashboard/platform-versions.html">Learn more »</a></p>
</td>
</tr>
</table>
</div>
</div>
<!--[if lte IE 6]>
<style>
#arrow-left {
margin:0 0 0 5px;
}
#arrow-right {
margin-left:0;
}
.app-list-container {
margin: 37px 0 0 23px;
}
div#list-clip {
width:468px;
}
</style>
<![endif]-->
<script type="text/javascript">
// * -- carousel dictionary -- * //
/* layout: imgLeft, imgRight, imgTop
icon: image for carousel entry. cropped (height:70px, width:90px)
name: string for carousel entry
img: image for bulletin post. cropped (height: 170, width:230px)
title: header for bulletin (optional, insert "" value to skip
desc: the bulletin post. must include html tags.
*/
var droidList = {
'sdk': {
'layout':"imgLeft",
'icon':"sdk-small.png",
'name':"Android 4.0",
'img':"ics-android.png",
'title':"Ice Cream Sandwich!",
'desc': "<br/><br/><br/><p>Oh my goodness, that looks tasty!</p>"
/*
+ "<p>For more information about all the changes in Android 3.2, read the "
+ "<a href='./sdk/android-3.2.html'>version notes</a> and <a "
+ "href='./sdk/api_diff/13/changes.html'>diff report</a>.</p>"
+ "<p>If you have an existing SDK, add Android 3.0 as an "
+ "<a href='./sdk/adding-components.html'>SDK "
+ "component</a>. If you're new to Android, install the "
+ "<a href='./sdk/index.html'>SDK starter package</a>."
*/
},
'tv': {
'layout':"imgLeft",
'icon':"GTV_icon_small.png",
'name':"Google TV",
'img':"GTV_icon_large.png",
'title':"Google TV!",
'desc': "<p>Build something big. By big, we mean <em>worthy-of-the-living-room</em> big.</p>"
+ " <p>Google TV brings the power of Android"
+ " and Google Chrome to television."
+ " The average American watches five hours of TV per day. Give them the apps"
+ " to update their status, listen to music, watch web videos, and more.</p>"
+ "<p><a href='http://code.google.com/tv'>Develop for Google TV »</a></p>"
},
'devphone': {
'layout':"imgLeft",
'icon':"devphone-small.png",
'name':"Dev Phones",
'img':"devphone-large.png",
'title':"Android Dev Phones",
'desc': "<p>Run and debug your Android applications directly on one of these "
+ "devices. Modify and rebuild the Android operating system, and flash it onto "
+ "the phone. The Android Dev Phones are carrier-independent, and available for "
+ "purchase by developers through their Android Market publisher accounts.</p><p> "
+ "<a href='http://market.android.com/publish'>Visit Android Market "
+ "to learn more »</a></p>"
},
'mapskey': {
'layout':"imgLeft",
'icon':"maps-small.png",
'name':"Maps API Key",
'img':"maps-large.png",
'title':"Maps API Key",
'desc':"<p>If you're writing an Android application that uses Google Maps (with MapView), you must register your application to obtain a Maps API Key. Without the key, your maps application will not work on Android devices. Obtaining a key requires just a couple of steps.</p><p><a href='http://code.google.com/android/add-ons/google-apis/maps-overview.html'>Learn more »</a></p>"
}
}
</script>
<script type="text/javascript" src="./assets/carousel.js"></script>
<script type="text/javascript">
initCarousel("sdk");
</script>
<div id="footer">
<div id="copyright">
Except as noted, this content is
licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
Creative Commons Attribution 2.5</a>. For details and
restrictions, see the <a href="./license.html">Content
License</a>.
</div>
<div id="footerlinks">
<p>
<a href="http://www.android.com/terms.html">Site Terms of Service</a> -
<a href="http://www.android.com/privacy.html">Privacy Policy</a> -
<a href="http://www.android.com/branding.html">Brand Guidelines</a>
</p>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
<script type="text/javascript">
init(); /* initialize android-developer-docs.js */
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5831155-1");
pageTracker._trackPageview();
</script>
</body>
</html>