blob: 28fd130a2db641757de1f60d299e2b4cb919c305 [file] [log] [blame]
Robert Ly3c4b4f72012-11-30 04:02:04 -08001<!DOCTYPE html>
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<html>
77<head>
78<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
79
80<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
81<title>Package Index | Android Developers</title>
82
83<!-- STYLESHEETS -->
84<link rel="stylesheet"
85href="http://fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto">
86<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
87
88
89
90<!-- JAVASCRIPT -->
91<script src="http://www.google.com/jsapi" type="text/javascript"></script>
92<script src="/assets/js/global-libraries-combined.js" type="text/javascript"></script>
93<script type="text/javascript">
94 var toRoot = "/";
95</script>
96<script src="/assets/js/docs.js" type="text/javascript"></script>
97
98<script src="/gms_navtree_data.js" type="text/javascript"></script>
99<script src="/gcm_navtree_data.js" type="text/javascript"></script>
100
101</head>
Robert Ly555c93b2012-12-03 12:24:07 -0800102<body class="gc-documentation google
Robert Ly3c4b4f72012-11-30 04:02:04 -0800103 develop">
104 <a name="top"></a>
105
106 <!-- Header -->
107 <div id="header">
108 <div class="wrap" id="header-wrap">
109 <div class="col-3 logo">
110 <a href="/index.html">
111 <img src="/assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" />
112 </a>
113 <div class="btn-quicknav" id="btn-quicknav">
114 <a href="#" class="arrow-inactive">Quicknav</a>
115 <a href="#" class="arrow-active">Quicknav</a>
116 </div>
117 </div>
118 <ul class="nav-x col-9">
119 <li class="design">
120 <a href="/design/index.html"
121 zh-TW-lang="設計"
122 zh-CN-lang="设计"
123 ru-lang="Проектирование"
124 ko-lang="디자인"
125 ja-lang="設計"
126 es-lang="Diseñar"
127 >Design</a></li>
128 <li class="develop"><a href="/develop/index.html" class="selected"
129 zh-TW-lang="開發"
130 zh-CN-lang="开发"
131 ru-lang="Разработка"
132 ko-lang="개발"
133 ja-lang="開発"
134 es-lang="Desarrollar"
135 >Develop</a></li>
136 <li class="distribute last"><a href="/distribute/index.html"
137 zh-TW-lang="發佈"
138 zh-CN-lang="分发"
139 ru-lang="Распространение"
140 ko-lang="배포"
141 ja-lang="配布"
142 es-lang="Distribuir"
143 >Distribute</a></li>
144 </ul>
145
146 <!-- New Search -->
147 <div class="menu-container">
148 <div class="moremenu">
149 <div id="more-btn"></div>
150 </div>
151 <div class="morehover" id="moremenu">
152 <div class="top"></div>
153 <div class="mid">
154 <div class="header">Links</div>
155 <ul>
156 <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li>
157 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
158 <li><a href="/about/index.html">About Android</a></li>
159 </ul>
160 <div class="header">Android Sites</div>
161 <ul>
162 <li><a href="http://www.android.com">Android.com</a></li>
163 <li class="active"><a>Android Developers</a></li>
164 <li><a href="http://source.android.com">Android Open Source Project</a></li>
165 </ul>
166 <!-- <div class="header">Support</div>
167 <ul>
168 <li><a href="/support.html">Developer Support</a></li>
169 </ul> -->
170 <div class="header">Languages</div>
171 <div id="language" class="locales">
172 <select name="language" onChange="changeLangPref(this.value, true)">
173 <option value="en">English</option>
174 <option value="es">Español</option>
175 <option value="ja">日本語</option>
176 <option value="ko">한국어</option>
177 <option value="ru">Русский</option>
178 <option value="zh-CN">中文 (中国)</option>
179 <option value="zh-TW">中文 (台灣)</option>
180 </select>
181 </div>
182 <script type="text/javascript">
183 <!--
184 loadLangPref();
185 //-->
186 </script>
187 <br class="clearfix" />
188 </div>
189 <div class="bottom"></div>
190 </div>
191 <div class="search" id="search-container">
192 <div class="search-inner">
193 <div id="search-btn"></div>
194 <div class="left"></div>
195 <form onsubmit="return submit_search()">
196 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
197onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
198onkeydown="return search_changed(event, true, '/')"
199onkeyup="return search_changed(event, false, '/')" />
200 </form>
201 <div class="right"></div>
202 <a class="close hide">close</a>
203 <div class="left"></div>
204 <div class="right"></div>
205 </div>
206 </div>
207 <div id="search_filtered_wrapper">
208 <div id="search_filtered_div" class="no-display">
209 <ul id="search_filtered">
210 </ul>
211 </div>
212 </div>
213
214 </div>
215 <!-- /New Search>
216
217
218 <!-- Expanded quicknav -->
219 <div id="quicknav" class="col-9">
220 <ul>
221 <li class="design">
222 <ul>
223 <li><a href="/design/index.html">Get Started</a></li>
224 <li><a href="/design/style/index.html">Style</a></li>
225 <li><a href="/design/patterns/index.html">Patterns</a></li>
226 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
227 <li><a href="/design/downloads/index.html">Downloads</a></li>
228 <li><a href="/design/videos/index.html">Videos</a></li>
229 </ul>
230 </li>
231 <li class="develop">
232 <ul>
233 <li><a href="/training/index.html"
234 zh-TW-lang="訓練課程"
235 zh-CN-lang="培训"
236 ru-lang="Курсы"
237 ko-lang="교육"
238 ja-lang="トレーニング"
239 es-lang="Capacitación"
240 >Training</a></li>
241 <li><a href="/guide/components/index.html"
242 zh-TW-lang="API 指南"
243 zh-CN-lang="API 指南"
244 ru-lang="Руководства по API"
245 ko-lang="API 가이드"
246 ja-lang="API ガイド"
247 es-lang="Guías de la API"
248 >API Guides</a></li>
249 <li><a href="/reference/packages.html"
250 zh-TW-lang="參考資源"
251 zh-CN-lang="参考"
252 ru-lang="Справочник"
253 ko-lang="참조문서"
254 ja-lang="リファレンス"
255 es-lang="Referencia"
256 >Reference</a></li>
257 <li><a href="/tools/index.html"
258 zh-TW-lang="相關工具"
259 zh-CN-lang="工具"
260 ru-lang="Инструменты"
261 ko-lang="도구"
262 ja-lang="ツール"
263 es-lang="Herramientas"
264 >Tools</a>
265 <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
266 </li>
267 <li><a href="/google/index.html">Google Services</a>
268 </li>
269 </ul>
270 </li>
271 <li class="distribute last">
272 <ul>
273 <li><a href="/distribute/index.html">Google Play</a></li>
274 <li><a href="/distribute/googleplay/publish/index.html">Publishing</a></li>
275 <li><a href="/distribute/googleplay/promote/index.html">Promoting</a></li>
276 <li><a href="/distribute/googleplay/quality/index.html">App Quality</a></li>
277 <li><a href="/distribute/googleplay/spotlight/index.html">Spotlight</a></li>
278 <li><a href="/distribute/open.html">Open Distribution</a></li>
279 </ul>
280 </li>
281 </ul>
282 </div>
283 <!-- /Expanded quicknav -->
284 </div>
285 </div>
286 <!-- /Header -->
287
288
289 <div id="searchResults" class="wrap" style="display:none;">
290 <h2 id="searchTitle">Results</h2>
291 <div id="leftSearchControl" class="search-control">Loading...</div>
292 </div>
293
294
295
296
297 <!-- Secondary x-nav -->
298 <div id="nav-x">
299 <div class="wrap">
300 <ul class="nav-x col-9 develop" style="width:100%">
301 <li><a href="/training/index.html"
302 zh-TW-lang="訓練課程"
303 zh-CN-lang="培训"
304 ru-lang="Курсы"
305 ko-lang="교육"
306 ja-lang="トレーニング"
307 es-lang="Capacitación"
308 >Training</a></li>
309 <li><a href="/guide/components/index.html"
310 zh-TW-lang="API 指南"
311 zh-CN-lang="API 指南"
312 ru-lang="Руководства по API"
313 ko-lang="API 가이드"
314 ja-lang="API ガイド"
315 es-lang="Guías de la API"
316 >API Guides</a></li>
317 <li><a href="/reference/packages.html"
318 zh-TW-lang="參考資源"
319 zh-CN-lang="参考"
320 ru-lang="Справочник"
321 ko-lang="참조문서"
322 ja-lang="リファレンス"
323 es-lang="Referencia"
324 >Reference</a></li>
325 <li><a href="/tools/index.html"
326 zh-TW-lang="相關工具"
327 zh-CN-lang="工具"
328 ru-lang="Инструменты"
329 ko-lang="도구"
330 ja-lang="ツール"
331 es-lang="Herramientas"
332 >Tools</a></li>
333 <li><a href="/google/index.html" class="selected"
334 >Google Services</a>
335 </li>
336 </ul>
337 </div>
338
339 </div>
340 <!-- /Sendondary x-nav -->
341
342
343
344
345
346 <div class="wrap clearfix" id="body-content">
347 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
348 <div id="devdoc-nav" class="scroll-pane">
349<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
350
351
352
353<ul id="nav">
354 <li class="nav-section">
355 <div class="nav-section-header empty"><a href="/google/index.html">
356 <span class="en">Overview</span>
357 </a></div>
358 </li>
359
360 <li class="nav-section">
361 <div class="nav-section-header"><a href="/google/play-services/index.html">
Robert Lyd84d5cc2013-01-04 10:13:35 -0800362 <span class="en">Google Play Services</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800363 </div>
364 <ul>
365 <li><a href="/google/play-services/setup.html">
366 <span class="en">Setup</span></a>
367 </li>
368
369 <li><a href="/google/play-services/auth.html">
370 <span class="en">Authentication</span></a>
371 </li>
372
373 <li><a href="/google/play-services/plus.html">
374 <span class="en">Google+</span></a>
375 </li>
376
377 <li><a href="/google/play-services/maps.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800378 <span class="en">Google Maps</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800379 </li>
380
381 <li id="gms-tree-list" class="nav-section">
382 <div class="nav-section-header">
383 <a href="/reference/gms-packages.html">
384 <span class="en">Reference</span>
385 </a>
386 <div>
387 </li>
388
389 </ul>
390 </li>
391
Robert Lyd84d5cc2013-01-04 10:13:35 -0800392
Robert Ly3c4b4f72012-11-30 04:02:04 -0800393 <li class="nav-section">
394 <div class="nav-section-header"><a href="/google/play/billing/index.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800395 <span class="en">Google Play In-app Billing</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800396 </div>
397 <ul>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800398 <li><a href="/google/play/billing/billing_overview.html">
399 <span class="en">Overview</span></a>
400 </li>
401 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html">
402 <span class="en">Version 3 API</span></a></div>
403 <ul>
404 <li><a href="/google/play/billing/billing_integrate.html">
405 <span class="en">Implementing the API</span></a></li>
406 <li><a href="/google/play/billing/billing_reference.html">
407 <span class="en">Reference</span></a></li>
408 </ul>
409 </li>
410 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html">
411 <span class="en">Version 2 API</span></a></div>
412 <ul>
413 <li><a href="/google/play/billing/v2/billing_integrate.html">
414 <span class="en">Implementing the API</span></a></li>
415 <li><a href="/google/play/billing/v2/billing_subscriptions.html">
416 <span class="en">Subscriptions</span></a></li>
417 <li><a href="/google/play/billing/v2/billing_reference.html">
418 <span class="en">Reference</span></a></li>
419 </ul>
420 </li>
421 <li><a href="/google/play/billing/billing_best_practices.html">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800422 <span class="en">Security and Design</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800423 </li>
424 <li><a href="/google/play/billing/billing_testing.html">
Robert Ly555c93b2012-12-03 12:24:07 -0800425 <span class="en">Testing In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800426 </li>
427 <li><a href="/google/play/billing/billing_admin.html">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800428 <span class="en">Administering In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800429 </li>
430 <li><a href="/google/play/billing/versions.html">
431 <span class="en">Version Notes</span></a>
432 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800433 </ul>
434 </li>
435
436 <li class="nav-section">
437 <div class="nav-section-header"><a href="/google/play/dist.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800438 <span class="en">Google Play Distribution</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800439 </div>
440 <ul>
441 <li><a href="/google/play/filters.html">
442 <span class="en">Filters on Google Play</span></a>
443 </li>
444
445 <li><a href="/google/play/publishing/multiple-apks.html">
446 <span class="en">Multiple APK Support</span></a>
447 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800448 <li><a href="/google/play/expansion-files.html">
449 <span class="en">APK Expansion Files</span></a>
450 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800451 <li class="nav-section">
452 <div class="nav-section-header"><a href="/google/play/licensing/index.html">
453 <span class="en">Application Licensing</span></a>
454 </div>
455 <ul>
456 <li><a href="/google/play/licensing/overview.html">
457 <span class="en">Licensing Overview</span></a>
458 </li>
459 <li><a href="/google/play/licensing/setting-up.html">
460 <span class="en">Setting Up for Licensing</span></a>
461 </li>
462 <li><a href="/google/play/licensing/adding-licensing.html">
463 <span class="en">Adding Licensing to Your App</span></a>
464 </li>
465 <li><a href="/google/play/licensing/licensing-reference.html">
466 <span class="en">Licensing Reference</span></a>
467 </li>
468 </ul>
469 </li>
470 </ul>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800471 </li>
472
473 <li class="nav-section">
474 <div class="nav-section-header"><a href="/google/gcm/index.html">
475 <span class="en">Google Cloud Messaging</span></a>
476 </div>
477 <ul>
478 <li><a href="/google/gcm/gs.html">
479 <span class="en">Getting Started</span></a>
480 </li>
481 <li><a href="/google/gcm/gcm.html">
482 <span class="en">Architectural Overview</span></a>
483 </li>
484 <li><a href="/google/gcm/demo.html">
485 <span class="en">Demo App Tutorial</span></a>
486 </li>
487 <li><a href="/google/gcm/adv.html">
488 <span class="en">Advanced Topics</span></a>
489 </li>
490 <li><a href="/google/gcm/c2dm.html">
491 <span class="en">Migration</span></a>
492 </li>
493 <li id="gcm-tree-list" class="nav-section">
494 <div class="nav-section-header">
495 <a href="/reference/gcm-packages.html">
496 <span class="en">Reference</span>
497 </a>
498 <div>
499 </li>
500 </ul>
501 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800502
503
Robert Lyd84d5cc2013-01-04 10:13:35 -0800504 <li class="nav-section">
505 <div class="nav-section-header"><a href="/google/backup/index.html">
506 Android Backup Service</a>
507 </div>
508 <ul>
509 <li><a href="/google/backup/signup.html">
510 Register</a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800511 </li>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800512 </ul>
513 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800514
Robert Ly3c4b4f72012-11-30 04:02:04 -0800515</ul>
516
517<script type="text/javascript">
518<!--
519 buildToggleLists();
520 changeNavLang(getLangPref());
521//-->
522</script>
523
524
525
526
527 </div>
528 <script type="text/javascript">
529 showGoogleRefTree();
530
531 </script>
532 </div> <!-- end side-nav -->
533 <script>
534 $(document).ready(function() {
535 scrollIntoView("devdoc-nav");
536 });
537 </script>
538
539
540
541 <script>
542 $(document).ready(function() {
543 changeDocLang(getLangPref());
544 });
545 </script>
546
547
548
549<div class="col-12" id="doc-col">
550
551<div id="jd-header">
552<h1>Package Index</h1>
553</div>
554
555<div id="jd-content">
556
557<div class="jd-descr">
558<p></p>
559</div>
560
561
562<table class="jd-sumtable">
563
564 <tr class="alt-color api apilevel-" >
565 <td class="jd-linkcol">
566 <a href="/reference/com/google/android/gcm/package-summary.html">com.google.android.gcm</a></td>
567 <td class="jd-descrcol" width="100%"></td>
568 </tr>
569
570
571 <tr class=" api apilevel-" >
572 <td class="jd-linkcol">
573 <a href="/reference/com/google/android/gcm/server/package-summary.html">com.google.android.gcm.server</a></td>
574 <td class="jd-descrcol" width="100%"></td>
575 </tr>
576
577
578</table>
579
580<div id="footer" class="wrap" >
581
582
583 <div id="copyright">
584
585 Except as noted, this content is licensed under <a
586 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
587 For details and restrictions, see the <a href="/license.html">
588 Content License</a>.
589 </div>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800590
Robert Ly3c4b4f72012-11-30 04:02:04 -0800591
592
593 <div id="footerlinks">
594
595 <p>
596 <a href="/about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
597 <a href="/legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
598 <a href="/support.html">Support</a>
599 </p>
600 </div>
601
602</div> <!-- end footer -->
603</div><!-- end jd-content -->
604</div> <!-- end doc-content -->
605
606</div> <!-- end body-content -->
607
608
609
610
611<!-- Grid - for dev
612<script type="text/javascript">
613
614window.gOverride = {
615 gColor: '#FF0000',
616 pColor: '#EEEEEE',
617 gOpacity: 0.10,
618 pOpacity: 0.40,
619 pHeight: 16,
620 pOffset: 2,
621 gColumns:16,
622 gEnabled:false,
623 pEnabled:false
624 }
625</script>
626
627<link href="/assets/js/grid/960.gridder.css" rel="stylesheet" type="text/css">
628<script src="/assets/js/grid/960.gridder.js" type="text/javascript"></script>
629-->
630
631
632
633
634
635<script type="text/javascript">
636init(); /* initialize android-developer-docs.js */
637var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
638document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
639</script>
640
641<script type="text/javascript">
642 var pageTracker = _gat._getTracker("UA-5831155-1");
643 pageTracker._trackPageview();
644</script>
645
646
647
648</body>
649</html>