Lines Matching full:services
20 <a href="{@docRoot}google/play-services/setup.html">Setup Google Play Services SDK</a>
41 Location Services treats a geofences as an area rather than as a points and proximity. This
43 Location Services to send you entrance events or exit events or both. You can also limit the
45 expires, Location Services automatically removes it.
48 Send geofences to Location Services
62 <!-- Check for Google Play services -->
63 <h3>Check for Google Play Services</h3>
65 Location Services is part of the Google Play services APK. Since it's hard to anticipate the
67 to connect to Location Services. To check that the APK is installed, call
75 user to correct the problem, in which case Google Play services may send a result back to your
90 Since you usually need to check for Google Play services in more than one place in your code,
93 Play services:
100 * Define a request code to send to Google Play services
132 * by Google Play services
160 // Check that Google Play services is available
164 // If Google Play services is available
168 "Google Play services is available.");
171 // Google Play services was not available for some reason
175 // Get the error dialog from Google Play services
181 // 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
205 a geofence to Location Services as an instance of
226 Services deletes the geofence. Most of the time, you should specify an expiration time, but
231 Location Services can detect when the user steps within the radius of the geofence ("entry")
237 use it to remove a geofence from Location Services tracking.
315 * Creates a Location Services Geofence object from a
505 * of time Location Services will stop tracking the geofence.
593 objects you want to monitor, you need to provide Location Services with the
598 The {@link android.content.Intent} sent from Location Services can trigger various actions in
603 send intents to other services, or send a broadcast intent. The following snippet shows how
632 Services.
639 cases, Location Services invokes a callback method when it finishes the operation. The best way
652 Specifies methods that Location Services calls when a location client is connected or
659 Specifies a method that Location Services calls if an error occurs while attempting to
666 Specifies a method that Location Services calls once it has added the geofences.
682 Next, define a method that starts the request process by connecting to Location Services.
726 * Test for Google Play services after setting the request type.
727 * If Google Play services isn't present, the proper request
744 // Request a connection from the client to Location Services
799 returns immediately, but the status of the request is indeterminate until Location Services
804 <h4>Check the result returned by Location Services</h4>
806 When Location Services invokes your implementation of the callback method
852 In some cases, Location Services may disconnect from the activity recognition client before
868 * Called by Location Services once the location client is
884 Besides handling the normal callbacks from Location Services, you have to provide a callback
885 method that Location Services calls if a connection error occurs. This callback method
887 handle the check for Google Play services. It can also re-use the override you defined
889 receives any Google Play services results that occur when the user interacts with the
904 * If the error has a resolution, start a Google Play services
920 // Get the error dialog from Google Play services
925 // If Google Play services can provide an error dialog
947 When Location Services detects that the user has entered or exited a geofence, it
968 *@param intent The Intent sent by Location Services. This
970 * to Location Services (inside a PendingIntent) when you call
981 "Location Services error: " +
1056 The callback methods that Location Services invokes when it has finished removing geofences
1066 Callback invoked when Location Services finishes a request to remove all geofences made
1074 Callback invoked when Location Services finished a request to remove a set of geofences,
1099 Start the removal request by getting a connection to Location Services. If the connection fails,
1117 * Test for Google Play services after setting the request type.
1118 * If Google Play services isn't present, the request can be
1137 // Request a connection from the client to Location Services
1152 When Location Services invokes the callback method indicating that the connection is open,
1186 <code><a href="{@docRoot}reference/com/google/android/gms/location/LocationClient.html#removeGeofences(android.app.PendingIntent, com.google.android.gms.location.LocationClient.OnRemoveGeofencesResultListener)">removeGeofences(PendingIntent, LocationClient.OnRemoveGeofencesResultListener)</a></code> Services calls
1187 returns immediately, the result of the removal request is indeterminate until Location Services
1202 *@param statusCode the code returned by Location Services
1285 // If Google Play services is unavailable, exit
1289 * Test for Google Play services after setting the request type.
1290 * If Google Play services isn't present, the request can be
1309 // Request a connection from the client to Location Services
1324 When Location Services invokes the callback method indicating that the connection is open,
1353 Location Services invokes this callback method to indicate that the request to remove a list of
1367 * @param statusCode The code returned by Location Services
1403 to request and receive activity updates. At regular intervals, Location Services can send you