Lines Matching full:services
17 <a href="{@docRoot}google/play-services/setup.html">Setup Google Play Services SDK</a>
37 similar pattern. Based on the update interval you choose, Location Services sends out
40 Services.
44 Requesting activity recognition updates from Location Services is similar to requesting
45 periodic location updates. You send the request through a client, and Location Services sends
68 <!-- Check for Google Play services -->
69 <h3>Check for Google Play Services</h3>
71 Location Services is part of the Google Play services APK. Since it's hard to anticipate the
73 to connect to Location Services. To check that the APK is installed, call
81 user to correct the problem, in which case Google Play services may send a result back to your
96 Since you usually need to check for Google Play services in more than one place in your code,
99 Play services:
106 * Define a request code to send to Google Play services
134 * by Google Play services
161 // Check that Google Play services is available
165 // If Google Play services is available
169 "Google Play services is available.");
172 // Google Play services was not available for some reason
174 // Get the error dialog from Google Play services
180 // If Google Play services can provide an error dialog
199 Snippets in the following sections call this method to verify that Google Play services is
206 Location Services. Making the request is an asynchronous process that starts when you request
207 a connection to an activity recognition client. When the client is connected, Location Services
210 In this method, you can send the update request to Location Services; this request is
226 Specifies methods that Location Services calls when the client is connected or
233 Specifies a method that Location Services calls if an error occurs while attempting to
249 {@link android.app.PendingIntent} that Location Services uses to send updates to your app:
291 * Create the PendingIntent that Location Services uses
310 connection to Location Services. You can call this method from anywhere in your activity; its
345 // Check for Google Play services
354 // Request a connection to Location Services
372 In this method, request activity recognition updates from Location Services. When Location
373 Services finishes connecting to the client and calls
382 * Called by Location Services once the location client is connected.
408 In some cases, Location Services may disconnect from the activity recognition client before
421 * Called by Location Services once the activity recognition
437 Besides handling the normal callbacks from Location Services, you have to provide a callback
438 method that Location Services calls if a connection error occurs. This callback method
440 handle the check for Google Play services. It can also re-use the override you defined
442 receives any Google Play services results that occur when the user interacts with the
455 * If the error has a resolution, start a Google Play services
471 // Get the error dialog from Google Play services
476 // If Google Play services can provide an error dialog
497 To handle the {@link android.content.Intent} that Location Services sends for each update
499 {@link android.app.IntentService#onHandleIntent onHandleIntent()}. Location Services
667 * Test for Google Play services after setting the request type.
668 * If Google Play services isn't present, the proper request type
706 set the request type and then request a connection to Location Services. You can call this
722 * Test for Google Play services after setting the request type.
723 * If Google Play services isn't present, the request can be
733 // Request a connection to Location Services