• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Google Play Services
2header.hide=1
3
4@jd:body
5
6<div class="landing-banner">
7
8<div class="col-6">
9  <img src="/images/google/gps.png" alt="">
10</div>
11<div class="col-6">
12
13  <h1 itemprop="name" style="margin-bottom:0;">Google Play Services</h1>
14  <p itemprop="description">
15  </p>
16
17  <p>Give your apps more features to attract users on a wider range of devices.
18  With Google Play services, your app can take advantage
19  of the latest, Google-powered features such as Maps, Google+, and more,
20  with automatic platform updates distributed as an APK through
21  the Google Play store. This makes it faster for your users to receive updates
22  and easier for you to integrate the newest that Google has to offer.
23  </p>
24
25</div>
26</div>
27
28
29  <div class="layout-content-row">
30  <div class="layout-content-col span-4">
31
32<h4>Google Technology</h4>
33<p>Google Play services provides you with easy access to Google services and is tightly
34integrated with the Android OS. Easy-to-use client libraries are provided for
35each service that let you implement the functionality you want easier and faster.</p>
36
37  </div>
38  <div class="layout-content-col span-4">
39
40<h4>Standard Authorization</h4>
41<p>All products in Google Play services share a common authorization API
42  that leverages the existing Google accounts on the device. You and your
43  users have a consistent and safe way to grant and receive OAuth2 access tokens
44  to Google services.</p>
45
46  </div>
47  <div class="layout-content-col span-4">
48
49<h4>Automatic Updates</h4>
50<p>Devices running Android 2.2 and newer and that have the Google Play Store
51app automatically receive updates to Google Play services. Enhance
52your app with the most recent version of Google Play services without worrying
53about your users' Android version.</p>
54
55  </div>
56
57
58   <p>To start integrating Google Play services into your app,
59   follow the <a href="/google/play-services/setup.html">Setup</a> guide.</p>
60
61</div>
62
63
64<h2>How It Works</h2>
65
66<h4 id="client-lib">The Google Play services client library</h4>
67<p>
68    The client library contains the interfaces to the individual Google
69    services and allows you to obtain authorization from users to gain access
70    to these services with their credentials. It also contains APIs that allow
71    you to resolve any issues at  runtime, such as a missing, disabled, or out-of-date
72    Google Play services APK. The client library has a light footprint if you use
73    <a href="/tools/help/proguard.html">ProGuard</a> as part of your build process, so it won't have
74    an adverse impact on your app's file size.
75</p>
76<p>
77    If you want to access added features or products, you can upgrade to a new version of the
78    client library as they are released. However, upgrading is not
79    necessary if you don't care about new features or bug fixes.
80    We anticipate more Google services to be continuously added, so be on the lookout for
81    these updates.
82</p>
83
84<div class="vspace size-2">&nbsp;</div>
85
86<div class="layout-content-row">
87  <div class="layout-content-col span-6">
88    <h4 id="apk">The Google Play services APK</h4>
89    <p>
90        The Google Play services APK contains the individual Google services and runs
91        as a background service in the Android OS. You interact with the background service
92        through the client library and the service carries out the actions on your behalf.
93        An easy-to-use authorization flow is also
94        provided to gain access to the each Google service, which provides consistency for both
95        you and your users.
96    </p>
97    <p>
98      The Google Play services APK is delivered through the Google Play Store, so
99      updates to the services are not dependent on carrier or OEM system image updates. In general, devices
100      running Android 2.2 (Froyo) or later and have the Google Play Store app installed receive updates within a
101      few days. This allows you to use the newest APIs in Google Play services and reach most of the
102      devices in the Android ecosystem (devices older than Android 2.2 or devices without the Google
103      Play Store app are not supported).
104    </p>
105  </div>
106
107  <div class="layout-content-col span-6">
108    <img src="/images/play-services-diagram.png" />
109    <p class="img-caption"><em>The Google Play services APK on user devices receives regular updates
110    for new APIs, features, and bug fixes.</em></p>
111  </div>
112</div>
113
114<h4 id="benefits">The benefits for your app</h4>
115
116<p>Google Play services gives you the freedom to use the newest APIs for popular
117Google services without worrying about device support. Updates to Google Play
118services are distributed automatically by the Google Play Store and new versions
119of the client library are delivered through the Android SDK Manager. This makes it
120easy for you to focus on what's important: your users' experience.</p>
121
122<p>To get started, <a href="{@docRoot}google/play-services/setup.html">set up</a> the SDK and check out
123the various products in the Google Play services platform now!</p>
124
125
126
127
128