• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!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
79
80
81<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
82
83<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
84<title>GooglePlayServicesUtil | Android Developers</title>
85
86<!-- STYLESHEETS -->
87<link rel="stylesheet"
88href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto">
89<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
90
91
92
93<!-- JAVASCRIPT -->
94<script src="//www.google.com/jsapi" type="text/javascript"></script>
95<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script>
96<script type="text/javascript">
97  var toRoot = "/";
98  var devsite = false;
99</script>
100<script src="/assets/js/docs.js" type="text/javascript"></script>
101
102<script type="text/javascript">
103  var _gaq = _gaq || [];
104  _gaq.push(['_setAccount', 'UA-5831155-1']);
105  _gaq.push(['_trackPageview']);
106
107  (function() {
108    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
109    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
110    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
111  })();
112</script>
113</head>
114<body class="gc-documentation google
115  develop" itemscope itemtype="http://schema.org/Article">
116  <div id="doc-api-level" class="" style="display:none"></div>
117  <a name="top"></a>
118
119<a name="top"></a>
120
121    <!-- Header -->
122    <div id="header">
123        <div class="wrap" id="header-wrap">
124          <div class="col-3 logo">
125          <a href="/index.html">
126            <img src="/assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" />
127          </a>
128          <div class="btn-quicknav" id="btn-quicknav">
129          	<a href="#" class="arrow-inactive">Quicknav</a>
130			      <a href="#" class="arrow-active">Quicknav</a>
131          </div>
132          </div>
133            <ul class="nav-x col-9">
134                <li class="design">
135                  <a href="/design/index.html"
136                  zh-tw-lang="設計"
137                  zh-cn-lang="设计"
138                  ru-lang="Проектирование"
139                  ko-lang="디자인"
140                  ja-lang="設計"
141                  es-lang="Diseñar"
142                  >Design</a></li>
143                <li class="develop"><a href="/develop/index.html"
144                  zh-tw-lang="開發"
145                  zh-cn-lang="开发"
146                  ru-lang="Разработка"
147                  ko-lang="개발"
148                  ja-lang="開発"
149                  es-lang="Desarrollar"
150                  >Develop</a></li>
151                <li class="distribute last"><a href="/distribute/index.html"
152                  zh-tw-lang="發佈"
153                  zh-cn-lang="分发"
154                  ru-lang="Распространение"
155                  ko-lang="배포"
156                  ja-lang="配布"
157                  es-lang="Distribuir"
158                  >Distribute</a></li>
159            </ul>
160
161            <!-- New Search -->
162            <div class="menu-container">
163            <div class="moremenu">
164    <div id="more-btn"></div>
165  </div>
166  <div class="morehover" id="moremenu">
167    <div class="top"></div>
168    <div class="mid">
169      <div class="header">Links</div>
170      <ul>
171        <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li>
172        <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
173        <li><a href="/about/index.html">About Android</a></li>
174      </ul>
175      <div class="header">Android Sites</div>
176      <ul>
177        <li><a href="http://www.android.com">Android.com</a></li>
178        <li class="active"><a>Android Developers</a></li>
179        <li><a href="http://source.android.com">Android Open Source Project</a></li>
180      </ul>
181
182
183
184        <div class="header">Language</div>
185          <div id="language" class="locales">
186            <select name="language" onChange="changeLangPref(this.value, true)">
187                <option value="en">English</option>
188                <option value="es">Español</option>
189                <option value="ja">日本語</option>
190                <option value="ko">한국어</option>
191                <option value="ru">Русский</option>
192                <option value="zh-cn">中文 (中国)</option>
193                <option value="zh-tw">中文 (台灣)</option>
194            </select>
195          </div>
196        <script type="text/javascript">
197          <!--
198          loadLangPref();
199            //-->
200        </script>
201
202
203
204
205      <br class="clearfix" />
206    </div>
207    <div class="bottom"></div>
208  </div>
209  <div class="search" id="search-container">
210    <div class="search-inner">
211      <div id="search-btn"></div>
212      <div class="left"></div>
213      <form onsubmit="return submit_search()">
214        <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
215onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
216onkeydown="return search_changed(event, true, '/')"
217onkeyup="return search_changed(event, false, '/')" />
218      </form>
219      <div class="right"></div>
220        <a class="close hide">close</a>
221        <div class="left"></div>
222        <div class="right"></div>
223    </div>
224  </div>
225
226  <div class="search_filtered_wrapper reference">
227    <div class="suggest-card reference no-display">
228      <ul class="search_filtered">
229      </ul>
230    </div>
231  </div>
232
233  <div class="search_filtered_wrapper docs">
234    <div class="suggest-card dummy no-display">&nbsp;</div>
235    <div class="suggest-card develop no-display">
236      <ul class="search_filtered">
237      </ul>
238      <div class="child-card guides no-display">
239      </div>
240      <div class="child-card training no-display">
241      </div>
242    </div>
243    <div class="suggest-card design no-display">
244      <ul class="search_filtered">
245      </ul>
246    </div>
247    <div class="suggest-card distribute no-display">
248      <ul class="search_filtered">
249      </ul>
250    </div>
251  </div>
252
253  </div>
254  <!-- /New Search>
255
256
257          <!-- Expanded quicknav -->
258           <div id="quicknav" class="col-9">
259                <ul>
260                    <li class="design">
261                      <ul>
262                        <li><a href="/design/index.html">Get Started</a></li>
263                        <li><a href="/design/style/index.html">Style</a></li>
264                        <li><a href="/design/patterns/index.html">Patterns</a></li>
265                        <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
266                        <li><a href="/design/downloads/index.html">Downloads</a></li>
267                        <li><a href="/design/videos/index.html">Videos</a></li>
268                      </ul>
269                    </li>
270                    <li class="develop">
271                      <ul>
272                        <li><a href="/training/index.html"
273                          zh-tw-lang="訓練課程"
274                          zh-cn-lang="培训"
275                          ru-lang="Курсы"
276                          ko-lang="교육"
277                          ja-lang="トレーニング"
278                          es-lang="Capacitación"
279                          >Training</a></li>
280                        <li><a href="/guide/components/index.html"
281                          zh-tw-lang="API 指南"
282                          zh-cn-lang="API 指南"
283                          ru-lang="Руководства по API"
284                          ko-lang="API 가이드"
285                          ja-lang="API ガイド"
286                          es-lang="Guías de la API"
287                          >API Guides</a></li>
288                        <li><a href="/reference/packages.html"
289                          zh-tw-lang="參考資源"
290                          zh-cn-lang="参考"
291                          ru-lang="Справочник"
292                          ko-lang="참조문서"
293                          ja-lang="リファレンス"
294                          es-lang="Referencia"
295                          >Reference</a></li>
296                        <li><a href="/tools/index.html"
297                          zh-tw-lang="相關工具"
298                          zh-cn-lang="工具"
299                          ru-lang="Инструменты"
300                          ko-lang="도구"
301                          ja-lang="ツール"
302                          es-lang="Herramientas"
303                          >Tools</a>
304                          <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
305                        </li>
306                        <li><a href="/google/index.html">Google Services</a>
307                        </li>
308                      </ul>
309                    </li>
310                    <li class="distribute last">
311                      <ul>
312                        <li><a href="/distribute/index.html">Google Play</a></li>
313                        <li><a href="/distribute/googleplay/publish/index.html">Publishing</a></li>
314                        <li><a href="/distribute/googleplay/promote/index.html">Promoting</a></li>
315                        <li><a href="/distribute/googleplay/quality/index.html">App Quality</a></li>
316                        <li><a href="/distribute/googleplay/spotlight/index.html">Spotlight</a></li>
317                        <li><a href="/distribute/open.html">Open Distribution</a></li>
318                      </ul>
319                    </li>
320                </ul>
321          </div>
322          <!-- /Expanded quicknav -->
323        </div>
324    </div>
325    <!-- /Header -->
326
327
328  <div id="searchResults" class="wrap" style="display:none;">
329          <h2 id="searchTitle">Results</h2>
330          <div id="leftSearchControl" class="search-control">Loading...</div>
331  </div>
332
333
334
335    <!-- Secondary x-nav -->
336    <div id="nav-x">
337        <div class="wrap">
338            <ul class="nav-x col-9 develop" style="width:100%">
339                <li class="training"><a href="/training/index.html"
340                  zh-tw-lang="訓練課程"
341                  zh-cn-lang="培训"
342                  ru-lang="Курсы"
343                  ko-lang="교육"
344                  ja-lang="トレーニング"
345                  es-lang="Capacitación"
346                  >Training</a></li>
347                <li class="guide"><a href="/guide/components/index.html"
348                  zh-tw-lang="API 指南"
349                  zh-cn-lang="API 指南"
350                  ru-lang="Руководства по API"
351                  ko-lang="API 가이드"
352                  ja-lang="API ガイド"
353                  es-lang="Guías de la API"
354                  >API Guides</a></li>
355                <li class="reference"><a href="/reference/packages.html"
356                  zh-tw-lang="參考資源"
357                  zh-cn-lang="参考"
358                  ru-lang="Справочник"
359                  ko-lang="참조문서"
360                  ja-lang="リファレンス"
361                  es-lang="Referencia"
362                  >Reference</a></li>
363                <li class="tools"><a href="/tools/index.html"
364                  zh-tw-lang="相關工具"
365                  zh-cn-lang="工具"
366                  ru-lang="Инструменты"
367                  ko-lang="도구"
368                  ja-lang="ツール"
369                  es-lang="Herramientas"
370                  >Tools</a></li>
371                <li class="google"><a href="/google/index.html"
372                  >Google Services</a>
373                </li>
374            </ul>
375        </div>
376
377    </div>
378    <!-- /Sendondary x-nav -->
379
380
381
382
383
384
385
386
387
388  <div class="wrap clearfix" id="body-content">
389    <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
390      <div id="devdoc-nav" class="scroll-pane">
391<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
392
393
394
395<ul id="nav">
396
397  <li class="nav-section">
398    <div class="nav-section-header empty"><a href="/google/index.html">
399          <span class="en">Overview</span>
400      </a></div>
401  </li>
402
403  <li class="nav-section">
404    <div class="nav-section-header empty"><a href="/google/play-services/games.html">
405          <span class="en">Games</span>
406      </a></div>
407  </li>
408  <li class="nav-section">
409    <div class="nav-section-header empty"><a href="/google/play-services/location.html">
410          <span class="en">Location</span>
411      </a></div>
412  </li>
413  <li class="nav-section">
414    <div class="nav-section-header empty"><a href="/google/play-services/plus.html">
415          <span class="en">Google+</span>
416                </a></div>
417  </li>
418  <li class="nav-section">
419    <div class="nav-section-header empty"><a href="/google/play-services/maps.html">
420          <span class="en">Google Maps</span>
421      </a></div>
422  </li>
423  <li class="nav-section">
424    <div class="nav-section-header empty"><a href="/google/play-services/auth.html">
425          <span class="en">Authorization</span>
426      </a></div>
427  </li>
428
429
430
431  <li class="nav-section">
432    <div class="nav-section-header"><a href="/google/play-services/index.html">
433      <span class="en">Google Play Services</span></a>
434    </div>
435    <ul>
436      <li><a href="/google/play-services/setup.html">
437          <span class="en">Setup</span></a>
438      </li>
439      <li id="gms-tree-list" class="nav-section">
440        <div class="nav-section-header">
441          <a href="/reference/gms-packages.html">
442            <span class="en">Reference</span>
443          </a>
444        <div>
445      </li>
446    </ul>
447  </li>
448
449
450  <li class="nav-section">
451    <div class="nav-section-header"><a href="/google/play/billing/index.html">
452      <span class="en">Google Play In-app Billing</span></a>
453    </div>
454    <ul>
455      <li><a href="/google/play/billing/billing_overview.html">
456              <span class="en">Overview</span></a>
457      </li>
458      <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html">
459              <span class="en">Version 3 API</span></a></div>
460              <ul>
461              <li><a href="/google/play/billing/billing_integrate.html">
462              <span class="en">Implementing the API</span></a></li>
463              <li><a href="/google/play/billing/billing_reference.html">
464              <span class="en">Reference</span></a></li>
465              </ul>
466      </li>
467      <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html">
468              <span class="en">Version 2 API</span></a></div>
469              <ul>
470              <li><a href="/google/play/billing/v2/billing_integrate.html">
471              <span class="en">Implementing the API</span></a></li>
472              <li><a href="/google/play/billing/v2/billing_subscriptions.html">
473              <span class="en">Subscriptions</span></a></li>
474              <li><a href="/google/play/billing/v2/billing_reference.html">
475              <span class="en">Reference</span></a></li>
476              </ul>
477      </li>
478      <li><a href="/google/play/billing/billing_subscriptions.html">
479              <span class="en">Subscriptions</span></a>
480      </li>
481      <li><a href="/google/play/billing/billing_best_practices.html">
482              <span class="en">Security and Design</span></a>
483      </li>
484      <li><a href="/google/play/billing/billing_testing.html">
485              <span class="en">Testing In-app Billing</span></a>
486      </li>
487      <li><a href="/google/play/billing/billing_admin.html">
488              <span class="en">Administering In-app Billing</span></a>
489      </li>
490      <li><a href="/google/play/billing/versions.html">
491              <span class="en">Version Notes</span></a>
492      </li>
493    </ul>
494  </li>
495
496
497
498  <li class="nav-section">
499      <div class="nav-section-header"><a href="/google/gcm/index.html">
500        <span class="en">Google Cloud Messaging</span></a>
501      </div>
502      <ul>
503        <li><a href="/google/gcm/gs.html">
504            <span class="en">Getting Started</span></a>
505        </li>
506        <li><a href="/google/gcm/gcm.html">
507            <span class="en">Architectural Overview</span></a>
508        </li>
509        <li><a href="/google/gcm/demo.html">
510            <span class="en">Demo App Tutorial</span></a>
511        </li>
512        <li><a href="/google/gcm/adv.html">
513            <span class="en">Advanced Topics</span></a>
514        </li>
515        <li><a href="/google/gcm/c2dm.html">
516            <span class="en">Migration</span></a>
517        </li>
518        <li id="gcm-tree-list" class="nav-section">
519          <div class="nav-section-header">
520            <a href="/reference/gcm-packages.html">
521              <span class="en">Reference</span>
522            </a>
523          <div>
524        </li>
525      </ul>
526  </li>
527
528  <li class="nav-section">
529    <div class="nav-section-header"><a href="/google/play/dist.html">
530      <span class="en">Google Play Distribution</span></a>
531    </div>
532    <ul>
533      <li><a href="/google/play/filters.html">
534          <span class="en">Filters on Google Play</span></a>
535      </li>
536
537      <li><a href="/google/play/publishing/multiple-apks.html">
538          <span class="en">Multiple APK Support</span></a>
539      </li>
540      <li><a href="/google/play/expansion-files.html">
541          <span class="en">APK Expansion Files</span></a>
542      </li>
543      <li class="nav-section">
544        <div class="nav-section-header"><a href="/google/play/licensing/index.html">
545          <span class="en">Application Licensing</span></a>
546        </div>
547        <ul>
548          <li><a href="/google/play/licensing/overview.html">
549              <span class="en">Licensing Overview</span></a>
550          </li>
551          <li><a href="/google/play/licensing/setting-up.html">
552              <span class="en">Setting Up for Licensing</span></a>
553          </li>
554          <li><a href="/google/play/licensing/adding-licensing.html">
555              <span class="en">Adding Licensing to Your App</span></a>
556          </li>
557          <li><a href="/google/play/licensing/licensing-reference.html">
558              <span class="en">Licensing Reference</span></a>
559          </li>
560        </ul>
561      </li>
562
563  <li class="nav-section">
564    <div class="nav-section-header"><a href="/google/backup/index.html">
565      Android Backup Service</a>
566    </div>
567    <ul>
568      <li><a href="/google/backup/signup.html">
569          Register</a>
570      </li>
571    </ul>
572  </li>
573
574  </ul>
575
576</li>
577
578
579
580</ul>
581
582<script type="text/javascript">
583<!--
584    buildToggleLists();
585    changeNavLang(getLangPref());
586//-->
587</script>
588
589
590
591
592      </div>
593      <script type="text/javascript">
594       showGoogleRefTree();
595
596      </script>
597    </div> <!-- end side-nav -->
598    <script>
599      $(document).ready(function() {
600        scrollIntoView("devdoc-nav");
601        });
602    </script>
603
604
605
606
607
608
609<div class="col-12"  id="doc-col">
610
611<div id="api-info-block">
612
613
614
615
616
617
618
619
620
621
622
623<div class="sum-details-links">
624
625Summary:
626
627
628
629
630
631  <a href="#constants">Constants</a>
632
633
634
635
636
637
638
639
640  &#124; <a href="#pubmethods">Methods</a>
641
642
643
644
645  &#124; <a href="#inhmethods">Inherited Methods</a>
646
647&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
648
649</div><!-- end sum-details-links -->
650<div class="api-level">
651
652
653
654
655</div>
656</div><!-- end api-info-block -->
657
658
659<!-- ======== START OF CLASS DATA ======== -->
660
661<div id="jd-header">
662    public
663
664    final
665
666    class
667<h1 itemprop="name">GooglePlayServicesUtil</h1>
668
669
670
671
672    extends Object<br/>
673
674
675
676
677
678
679
680
681
682</div><!-- end header -->
683
684<div id="naMessage"></div>
685
686<div id="jd-content" class="api apilevel-">
687<table class="jd-inheritance-table">
688
689
690    <tr>
691
692        <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
693    </tr>
694
695
696    <tr>
697
698            <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
699
700        <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.common.GooglePlayServicesUtil</td>
701    </tr>
702
703
704</table>
705
706
707
708
709
710
711
712<div class="jd-descr">
713
714
715<h2>Class Overview</h2>
716<p itemprop="articleBody">Utility class for verifying that the Google Play services APK is available and
717 up-to-date on this device.  The same checks are performed if one uses
718 <code><a href="/reference/com/google/android/gms/plus/PlusClient.html">PlusClient</a></code> or
719 <code><a href="/reference/com/google/android/gms/auth/GoogleAuthUtil.html">GoogleAuthUtil</a></code> connect to the service.
720</p>
721
722
723
724
725
726</div><!-- jd-descr -->
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743<div class="jd-descr">
744
745
746<h2>Summary</h2>
747
748
749
750
751
752
753
754
755
756
757
758
759
760<!-- =========== ENUM CONSTANT SUMMARY =========== -->
761<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr>
762
763
764
765    <tr class="alt-color api apilevel-" >
766        <td class="jd-typecol">String</td>
767        <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_SERVICES_PACKAGE">GOOGLE_PLAY_SERVICES_PACKAGE</a></td>
768        <td class="jd-descrcol" width="100%">Package name for Google Play services.</td>
769    </tr>
770
771
772    <tr class=" api apilevel-" >
773        <td class="jd-typecol">int</td>
774        <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_SERVICES_VERSION_CODE">GOOGLE_PLAY_SERVICES_VERSION_CODE</a></td>
775        <td class="jd-descrcol" width="100%">Minimum Google Play services package version (declared in AndroidManifest.xml
776 android:versionCode) in order to be compatible with this client version.</td>
777    </tr>
778
779
780    <tr class="alt-color api apilevel-" >
781        <td class="jd-typecol">String</td>
782        <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_STORE_PACKAGE">GOOGLE_PLAY_STORE_PACKAGE</a></td>
783        <td class="jd-descrcol" width="100%">Package name for Google Play services.</td>
784    </tr>
785
786
787
788</table>
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805<!-- ========== METHOD SUMMARY =========== -->
806<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
807
808
809
810
811    <tr class="alt-color api apilevel-" >
812        <td class="jd-typecol"><nobr>
813
814
815
816            static
817
818            Dialog</nobr>
819        </td>
820        <td class="jd-linkcol" width="100%"><nobr>
821        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int, android.content.DialogInterface.OnCancelListener)">getErrorDialog</a></span>(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)</nobr>
822
823        <div class="jd-descrdiv">Returns a dialog to address the provided errorCode.</div>
824
825  </td></tr>
826
827
828
829    <tr class=" api apilevel-" >
830        <td class="jd-typecol"><nobr>
831
832
833
834            static
835
836            Dialog</nobr>
837        </td>
838        <td class="jd-linkcol" width="100%"><nobr>
839        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog</a></span>(int errorCode, Activity activity, int requestCode)</nobr>
840
841        <div class="jd-descrdiv">Returns a dialog to address the provided errorCode.</div>
842
843  </td></tr>
844
845
846
847    <tr class="alt-color api apilevel-" >
848        <td class="jd-typecol"><nobr>
849
850
851
852            static
853
854            PendingIntent</nobr>
855        </td>
856        <td class="jd-linkcol" width="100%"><nobr>
857        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorPendingIntent(int, android.content.Context, int)">getErrorPendingIntent</a></span>(int errorCode, Context context, int requestCode)</nobr>
858
859        <div class="jd-descrdiv">Returns a PendingIntent to address the provided errorCode.</div>
860
861  </td></tr>
862
863
864
865    <tr class=" api apilevel-" >
866        <td class="jd-typecol"><nobr>
867
868
869
870            static
871
872            String</nobr>
873        </td>
874        <td class="jd-linkcol" width="100%"><nobr>
875        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorString(int)">getErrorString</a></span>(int errorCode)</nobr>
876
877        <div class="jd-descrdiv">Returns a human-readable string of the error code returned from
878 <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</div>
879
880  </td></tr>
881
882
883
884    <tr class="alt-color api apilevel-" >
885        <td class="jd-typecol"><nobr>
886
887
888
889            static
890
891            String</nobr>
892        </td>
893        <td class="jd-linkcol" width="100%"><nobr>
894        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getOpenSourceSoftwareLicenseInfo(android.content.Context)">getOpenSourceSoftwareLicenseInfo</a></span>(Context context)</nobr>
895
896        <div class="jd-descrdiv">Returns the open source software license information for the Google Play services
897 application, or null if Google Play services is not available on this device.</div>
898
899  </td></tr>
900
901
902
903    <tr class=" api apilevel-" >
904        <td class="jd-typecol"><nobr>
905
906
907
908            static
909
910            Context</nobr>
911        </td>
912        <td class="jd-linkcol" width="100%"><nobr>
913        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getRemoteContext(android.content.Context)">getRemoteContext</a></span>(Context context)</nobr>
914
915        <div class="jd-descrdiv">This gets the Context object of the Buddy APK.</div>
916
917  </td></tr>
918
919
920
921    <tr class="alt-color api apilevel-" >
922        <td class="jd-typecol"><nobr>
923
924
925
926            static
927
928            Resources</nobr>
929        </td>
930        <td class="jd-linkcol" width="100%"><nobr>
931        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getRemoteResource(android.content.Context)">getRemoteResource</a></span>(Context context)</nobr>
932
933        <div class="jd-descrdiv">This gets the Resources object of the Buddy APK.</div>
934
935  </td></tr>
936
937
938
939    <tr class=" api apilevel-" >
940        <td class="jd-typecol"><nobr>
941
942
943
944            static
945
946            int</nobr>
947        </td>
948        <td class="jd-linkcol" width="100%"><nobr>
949        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable</a></span>(Context context)</nobr>
950
951        <div class="jd-descrdiv">Verifies that Google Play services is installed and enabled on this device, and that the
952 version installed on this device is no older than the one required by this client.</div>
953
954  </td></tr>
955
956
957
958    <tr class="alt-color api apilevel-" >
959        <td class="jd-typecol"><nobr>
960
961
962
963            static
964
965            boolean</nobr>
966        </td>
967        <td class="jd-linkcol" width="100%"><nobr>
968        <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isUserRecoverableError(int)">isUserRecoverableError</a></span>(int errorCode)</nobr>
969
970        <div class="jd-descrdiv">Determines whether an error is user-recoverable.</div>
971
972  </td></tr>
973
974
975
976</table>
977
978
979
980
981
982
983
984<!-- ========== METHOD SUMMARY =========== -->
985<table id="inhmethods" class="jd-sumtable"><tr><th>
986  <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
987  <div style="clear:left;">Inherited Methods</div></th></tr>
988
989
990<tr class="api apilevel-" >
991<td colspan="12">
992  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
993          ><img id="inherited-methods-java.lang.Object-trigger"
994          src="/assets/images/triangle-closed.png"
995          class="jd-expando-trigger-img" /></a>
996From class
997
998  java.lang.Object
999
1000<div id="inherited-methods-java.lang.Object">
1001  <div id="inherited-methods-java.lang.Object-list"
1002        class="jd-inheritedlinks">
1003  </div>
1004  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
1005    <table class="jd-sumtable-expando">
1006
1007
1008
1009
1010    <tr class="alt-color api apilevel-" >
1011        <td class="jd-typecol"><nobr>
1012
1013
1014
1015
1016
1017            Object</nobr>
1018        </td>
1019        <td class="jd-linkcol" width="100%"><nobr>
1020        <span class="sympad">clone</span>()</nobr>
1021
1022  </td></tr>
1023
1024
1025
1026    <tr class=" api apilevel-" >
1027        <td class="jd-typecol"><nobr>
1028
1029
1030
1031
1032
1033            boolean</nobr>
1034        </td>
1035        <td class="jd-linkcol" width="100%"><nobr>
1036        <span class="sympad">equals</span>(Object arg0)</nobr>
1037
1038  </td></tr>
1039
1040
1041
1042    <tr class="alt-color api apilevel-" >
1043        <td class="jd-typecol"><nobr>
1044
1045
1046
1047
1048
1049            void</nobr>
1050        </td>
1051        <td class="jd-linkcol" width="100%"><nobr>
1052        <span class="sympad">finalize</span>()</nobr>
1053
1054  </td></tr>
1055
1056
1057
1058    <tr class=" api apilevel-" >
1059        <td class="jd-typecol"><nobr>
1060
1061
1062            final
1063
1064
1065            Class&lt;?&gt;</nobr>
1066        </td>
1067        <td class="jd-linkcol" width="100%"><nobr>
1068        <span class="sympad">getClass</span>()</nobr>
1069
1070  </td></tr>
1071
1072
1073
1074    <tr class="alt-color api apilevel-" >
1075        <td class="jd-typecol"><nobr>
1076
1077
1078
1079
1080
1081            int</nobr>
1082        </td>
1083        <td class="jd-linkcol" width="100%"><nobr>
1084        <span class="sympad">hashCode</span>()</nobr>
1085
1086  </td></tr>
1087
1088
1089
1090    <tr class=" api apilevel-" >
1091        <td class="jd-typecol"><nobr>
1092
1093
1094            final
1095
1096
1097            void</nobr>
1098        </td>
1099        <td class="jd-linkcol" width="100%"><nobr>
1100        <span class="sympad">notify</span>()</nobr>
1101
1102  </td></tr>
1103
1104
1105
1106    <tr class="alt-color api apilevel-" >
1107        <td class="jd-typecol"><nobr>
1108
1109
1110            final
1111
1112
1113            void</nobr>
1114        </td>
1115        <td class="jd-linkcol" width="100%"><nobr>
1116        <span class="sympad">notifyAll</span>()</nobr>
1117
1118  </td></tr>
1119
1120
1121
1122    <tr class=" api apilevel-" >
1123        <td class="jd-typecol"><nobr>
1124
1125
1126
1127
1128
1129            String</nobr>
1130        </td>
1131        <td class="jd-linkcol" width="100%"><nobr>
1132        <span class="sympad">toString</span>()</nobr>
1133
1134  </td></tr>
1135
1136
1137
1138    <tr class="alt-color api apilevel-" >
1139        <td class="jd-typecol"><nobr>
1140
1141
1142            final
1143
1144
1145            void</nobr>
1146        </td>
1147        <td class="jd-linkcol" width="100%"><nobr>
1148        <span class="sympad">wait</span>()</nobr>
1149
1150  </td></tr>
1151
1152
1153
1154    <tr class=" api apilevel-" >
1155        <td class="jd-typecol"><nobr>
1156
1157
1158            final
1159
1160
1161            void</nobr>
1162        </td>
1163        <td class="jd-linkcol" width="100%"><nobr>
1164        <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
1165
1166  </td></tr>
1167
1168
1169
1170    <tr class="alt-color api apilevel-" >
1171        <td class="jd-typecol"><nobr>
1172
1173
1174            final
1175
1176
1177            void</nobr>
1178        </td>
1179        <td class="jd-linkcol" width="100%"><nobr>
1180        <span class="sympad">wait</span>(long arg0)</nobr>
1181
1182  </td></tr>
1183
1184
1185</table>
1186  </div>
1187</div>
1188</td></tr>
1189
1190
1191</table>
1192
1193
1194</div><!-- jd-descr (summary) -->
1195
1196<!-- Details -->
1197
1198
1199
1200
1201
1202
1203
1204
1205<!-- XML Attributes -->
1206
1207
1208<!-- Enum Values -->
1209
1210
1211<!-- Constants -->
1212
1213
1214<!-- ========= ENUM CONSTANTS DETAIL ======== -->
1215<h2>Constants</h2>
1216
1217
1218
1219
1220<A NAME="GOOGLE_PLAY_SERVICES_PACKAGE"></A>
1221
1222<div class="jd-details api apilevel-">
1223    <h4 class="jd-details-title">
1224      <span class="normal">
1225        public
1226        static
1227        final
1228        String
1229      </span>
1230        GOOGLE_PLAY_SERVICES_PACKAGE
1231    </h4>
1232      <div class="api-level">
1233
1234
1235
1236
1237      </div>
1238    <div class="jd-details-descr">
1239
1240  <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services.
1241</p></div>
1242
1243
1244        <div class="jd-tagdata">
1245        <span class="jd-tagtitle">Constant Value: </span>
1246        <span>
1247
1248                "com.google.android.gms"
1249
1250        </span>
1251        </div>
1252
1253    </div>
1254</div>
1255
1256
1257
1258<A NAME="GOOGLE_PLAY_SERVICES_VERSION_CODE"></A>
1259
1260<div class="jd-details api apilevel-">
1261    <h4 class="jd-details-title">
1262      <span class="normal">
1263        public
1264        static
1265        final
1266        int
1267      </span>
1268        GOOGLE_PLAY_SERVICES_VERSION_CODE
1269    </h4>
1270      <div class="api-level">
1271
1272
1273
1274
1275      </div>
1276    <div class="jd-details-descr">
1277
1278  <div class="jd-tagdata jd-tagdescr"><p>Minimum Google Play services package version (declared in AndroidManifest.xml
1279 android:versionCode) in order to be compatible with this client version.
1280</p></div>
1281
1282
1283        <div class="jd-tagdata">
1284        <span class="jd-tagtitle">Constant Value: </span>
1285        <span>
1286
1287                3136000
1288                (0x002fda00)
1289
1290        </span>
1291        </div>
1292
1293    </div>
1294</div>
1295
1296
1297
1298<A NAME="GOOGLE_PLAY_STORE_PACKAGE"></A>
1299
1300<div class="jd-details api apilevel-">
1301    <h4 class="jd-details-title">
1302      <span class="normal">
1303        public
1304        static
1305        final
1306        String
1307      </span>
1308        GOOGLE_PLAY_STORE_PACKAGE
1309    </h4>
1310      <div class="api-level">
1311
1312
1313
1314
1315      </div>
1316    <div class="jd-details-descr">
1317
1318  <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services.
1319</p></div>
1320
1321
1322        <div class="jd-tagdata">
1323        <span class="jd-tagtitle">Constant Value: </span>
1324        <span>
1325
1326                "com.android.vending"
1327
1328        </span>
1329        </div>
1330
1331    </div>
1332</div>
1333
1334
1335
1336
1337<!-- Fields -->
1338
1339
1340<!-- Public ctors -->
1341
1342
1343
1344<!-- ========= CONSTRUCTOR DETAIL ======== -->
1345<!-- Protected ctors -->
1346
1347
1348
1349<!-- ========= METHOD DETAIL ======== -->
1350<!-- Public methdos -->
1351
1352<h2>Public Methods</h2>
1353
1354
1355
1356<A NAME="getErrorDialog(int, android.app.Activity, int, android.content.DialogInterface.OnCancelListener)"></A>
1357
1358<div class="jd-details api apilevel-">
1359    <h4 class="jd-details-title">
1360      <span class="normal">
1361        public
1362        static
1363
1364
1365
1366        Dialog
1367      </span>
1368      <span class="sympad">getErrorDialog</span>
1369      <span class="normal">(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)</span>
1370    </h4>
1371      <div class="api-level">
1372        <div></div>
1373
1374
1375
1376      </div>
1377    <div class="jd-details-descr">
1378
1379  <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized
1380 message about the error and upon user confirmation (by tapping on dialog) will direct them to
1381 the Play Store if Google Play services is out of date or missing, or to system settings if
1382 Google Play services is disabled on the device.</p></div>
1383  <div class="jd-tagdata">
1384      <h5 class="jd-tagtitle">Parameters</h5>
1385      <table class="jd-tagtable">
1386        <tr>
1387          <th>errorCode</td>
1388          <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call.
1389            If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td>
1390        </tr>
1391        <tr>
1392          <th>activity</td>
1393          <td>parent activity for creating the dialog, also used for identifying language
1394            to display dialog in.</td>
1395        </tr>
1396        <tr>
1397          <th>requestCode</td>
1398          <td>The requestCode given when calling startActivityForResult.</td>
1399        </tr>
1400        <tr>
1401          <th>cancelListener</td>
1402          <td>The <code><a href="/reference/android/content/DialogInterface.OnCancelListener.html">DialogInterface.OnCancelListener</a></code> to invoke if the dialog is
1403            canceled.
1404</td>
1405        </tr>
1406      </table>
1407  </div>
1408
1409    </div>
1410</div>
1411
1412
1413<A NAME="getErrorDialog(int, android.app.Activity, int)"></A>
1414
1415<div class="jd-details api apilevel-">
1416    <h4 class="jd-details-title">
1417      <span class="normal">
1418        public
1419        static
1420
1421
1422
1423        Dialog
1424      </span>
1425      <span class="sympad">getErrorDialog</span>
1426      <span class="normal">(int errorCode, Activity activity, int requestCode)</span>
1427    </h4>
1428      <div class="api-level">
1429        <div></div>
1430
1431
1432
1433      </div>
1434    <div class="jd-details-descr">
1435
1436  <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized
1437 message about the error and upon user confirmation (by tapping on dialog) will direct them to
1438 the Play Store if Google Play services is out of date or missing, or to system settings if
1439 Google Play services is disabled on the device.</p></div>
1440  <div class="jd-tagdata">
1441      <h5 class="jd-tagtitle">Parameters</h5>
1442      <table class="jd-tagtable">
1443        <tr>
1444          <th>errorCode</td>
1445          <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call.
1446            If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td>
1447        </tr>
1448        <tr>
1449          <th>activity</td>
1450          <td>parent activity for creating the dialog, also used for identifying language
1451            to display dialog in.</td>
1452        </tr>
1453        <tr>
1454          <th>requestCode</td>
1455          <td>The requestCode given when calling startActivityForResult.
1456</td>
1457        </tr>
1458      </table>
1459  </div>
1460
1461    </div>
1462</div>
1463
1464
1465<A NAME="getErrorPendingIntent(int, android.content.Context, int)"></A>
1466
1467<div class="jd-details api apilevel-">
1468    <h4 class="jd-details-title">
1469      <span class="normal">
1470        public
1471        static
1472
1473
1474
1475        PendingIntent
1476      </span>
1477      <span class="sympad">getErrorPendingIntent</span>
1478      <span class="normal">(int errorCode, Context context, int requestCode)</span>
1479    </h4>
1480      <div class="api-level">
1481        <div></div>
1482
1483
1484
1485      </div>
1486    <div class="jd-details-descr">
1487
1488  <div class="jd-tagdata jd-tagdescr"><p>Returns a PendingIntent to address the provided errorCode. It will direct them to one of the
1489 following places to either the Play Store if Google Play services is out of date or missing,
1490 or system settings if Google Play services is disabled on the device.</p></div>
1491  <div class="jd-tagdata">
1492      <h5 class="jd-tagtitle">Parameters</h5>
1493      <table class="jd-tagtable">
1494        <tr>
1495          <th>errorCode</td>
1496          <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call.
1497            If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td>
1498        </tr>
1499        <tr>
1500          <th>context</td>
1501          <td>parent context for creating the PendingIntent.</td>
1502        </tr>
1503        <tr>
1504          <th>requestCode</td>
1505          <td>The requestCode given when calling startActivityForResult.
1506</td>
1507        </tr>
1508      </table>
1509  </div>
1510
1511    </div>
1512</div>
1513
1514
1515<A NAME="getErrorString(int)"></A>
1516
1517<div class="jd-details api apilevel-">
1518    <h4 class="jd-details-title">
1519      <span class="normal">
1520        public
1521        static
1522
1523
1524
1525        String
1526      </span>
1527      <span class="sympad">getErrorString</span>
1528      <span class="normal">(int errorCode)</span>
1529    </h4>
1530      <div class="api-level">
1531        <div></div>
1532
1533
1534
1535      </div>
1536    <div class="jd-details-descr">
1537
1538  <div class="jd-tagdata jd-tagdescr"><p>Returns a human-readable string of the error code returned from
1539 <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.
1540</p></div>
1541
1542    </div>
1543</div>
1544
1545
1546<A NAME="getOpenSourceSoftwareLicenseInfo(android.content.Context)"></A>
1547
1548<div class="jd-details api apilevel-">
1549    <h4 class="jd-details-title">
1550      <span class="normal">
1551        public
1552        static
1553
1554
1555
1556        String
1557      </span>
1558      <span class="sympad">getOpenSourceSoftwareLicenseInfo</span>
1559      <span class="normal">(Context context)</span>
1560    </h4>
1561      <div class="api-level">
1562        <div></div>
1563
1564
1565
1566      </div>
1567    <div class="jd-details-descr">
1568
1569  <div class="jd-tagdata jd-tagdescr"><p>Returns the open source software license information for the Google Play services
1570 application, or null if Google Play services is not available on this device.
1571</p></div>
1572
1573    </div>
1574</div>
1575
1576
1577<A NAME="getRemoteContext(android.content.Context)"></A>
1578
1579<div class="jd-details api apilevel-">
1580    <h4 class="jd-details-title">
1581      <span class="normal">
1582        public
1583        static
1584
1585
1586
1587        Context
1588      </span>
1589      <span class="sympad">getRemoteContext</span>
1590      <span class="normal">(Context context)</span>
1591    </h4>
1592      <div class="api-level">
1593        <div></div>
1594
1595
1596
1597      </div>
1598    <div class="jd-details-descr">
1599
1600  <div class="jd-tagdata jd-tagdescr"><p>This gets the Context object of the Buddy APK. This loads the Buddy APK code from the Buddy
1601 APK into memory. This returned context can be used to create classes and obtain resources
1602 defined in the Buddy APK.</p></div>
1603  <div class="jd-tagdata">
1604      <h5 class="jd-tagtitle">Returns</h5>
1605      <ul class="nolist"><li>The Context object of the Buddy APK or null if the Buddy APK is not installed on the
1606         device.
1607</li></ul>
1608  </div>
1609
1610    </div>
1611</div>
1612
1613
1614<A NAME="getRemoteResource(android.content.Context)"></A>
1615
1616<div class="jd-details api apilevel-">
1617    <h4 class="jd-details-title">
1618      <span class="normal">
1619        public
1620        static
1621
1622
1623
1624        Resources
1625      </span>
1626      <span class="sympad">getRemoteResource</span>
1627      <span class="normal">(Context context)</span>
1628    </h4>
1629      <div class="api-level">
1630        <div></div>
1631
1632
1633
1634      </div>
1635    <div class="jd-details-descr">
1636
1637  <div class="jd-tagdata jd-tagdescr"><p>This gets the Resources object of the Buddy APK.</p></div>
1638  <div class="jd-tagdata">
1639      <h5 class="jd-tagtitle">Returns</h5>
1640      <ul class="nolist"><li>The Resources object of the Buddy APK or null if the Buddy APK is not installed on
1641         the device.
1642</li></ul>
1643  </div>
1644
1645    </div>
1646</div>
1647
1648
1649<A NAME="isGooglePlayServicesAvailable(android.content.Context)"></A>
1650
1651<div class="jd-details api apilevel-">
1652    <h4 class="jd-details-title">
1653      <span class="normal">
1654        public
1655        static
1656
1657
1658
1659        int
1660      </span>
1661      <span class="sympad">isGooglePlayServicesAvailable</span>
1662      <span class="normal">(Context context)</span>
1663    </h4>
1664      <div class="api-level">
1665        <div></div>
1666
1667
1668
1669      </div>
1670    <div class="jd-details-descr">
1671
1672  <div class="jd-tagdata jd-tagdescr"><p>Verifies that Google Play services is installed and enabled on this device, and that the
1673 version installed on this device is no older than the one required by this client.</p></div>
1674  <div class="jd-tagdata">
1675      <h5 class="jd-tagtitle">Returns</h5>
1676      <ul class="nolist"><li>status code indicating whether there was an error.  Can be one of following in
1677         <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code>: SUCCESS, SERVICE_MISSING,
1678         SERVICE_VERSION_UPDATE_REQUIRED, SERVICE_DISABLED, SERVICE_INVALID.
1679</li></ul>
1680  </div>
1681
1682    </div>
1683</div>
1684
1685
1686<A NAME="isUserRecoverableError(int)"></A>
1687
1688<div class="jd-details api apilevel-">
1689    <h4 class="jd-details-title">
1690      <span class="normal">
1691        public
1692        static
1693
1694
1695
1696        boolean
1697      </span>
1698      <span class="sympad">isUserRecoverableError</span>
1699      <span class="normal">(int errorCode)</span>
1700    </h4>
1701      <div class="api-level">
1702        <div></div>
1703
1704
1705
1706      </div>
1707    <div class="jd-details-descr">
1708
1709  <div class="jd-tagdata jd-tagdescr"><p>Determines whether an error is user-recoverable. If true, proceed by calling
1710 <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, Activity, int)</a></code> and showing the dialog.</p></div>
1711  <div class="jd-tagdata">
1712      <h5 class="jd-tagtitle">Parameters</h5>
1713      <table class="jd-tagtable">
1714        <tr>
1715          <th>errorCode</td>
1716          <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>, or
1717       returned to your application via
1718       <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html#onConnectionFailed(com.google.android.gms.common.ConnectionResult)">onConnectionFailed(ConnectionResult)</a></code></td>
1719        </tr>
1720      </table>
1721  </div>
1722  <div class="jd-tagdata">
1723      <h5 class="jd-tagtitle">Returns</h5>
1724      <ul class="nolist"><li>true if the error is recoverable with
1725         <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, Activity, int)</a></code>
1726</li></ul>
1727  </div>
1728
1729    </div>
1730</div>
1731
1732
1733
1734
1735
1736<!-- ========= METHOD DETAIL ======== -->
1737
1738
1739
1740<!-- ========= END OF CLASS DATA ========= -->
1741<A NAME="navbar_top"></A>
1742
1743<div id="footer" class="wrap" >
1744
1745
1746  <div id="copyright">
1747
1748  Except as noted, this content is licensed under <a
1749  href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
1750  For details and restrictions, see the <a href="/license.html">
1751  Content License</a>.
1752  </div>
1753  <div id="build_info">
1754
1755<script src="/timestamp.js" type="text/javascript"></script>
1756<script>document.write(BUILD_TIMESTAMP)</script>
1757
1758  </div>
1759
1760
1761  <div id="footerlinks">
1762
1763  <p>
1764    <a href="/about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
1765    <a href="/legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
1766    <a href="/support.html">Support</a>
1767  </p>
1768  </div>
1769
1770</div> <!-- end footer -->
1771</div> <!-- jd-content -->
1772
1773</div><!-- end doc-content -->
1774
1775</div> <!-- end body-content -->
1776
1777
1778
1779
1780
1781
1782</body>
1783</html>
1784