Home | History | Annotate | Download | only in location

Lines Matching full:services

10     <li><a href="#PlayServices">Check for Google Play Services</a></li>
11 <li><a href="#DefineCallbacks">Define Location Services Callbacks</a></li>
20 <a href="{@docRoot}google/play-services/setup.html">Setup Google Play Services SDK</a>
41 a more direct approach is to request periodic updates from Location Services. In
42 response, Location Services automatically updates your app with the best available location,
46 To get periodic location updates from Location Services, you send a request using a location
47 client. Depending on the form of the request, Location Services either invokes a callback
51 parameters you pass to Location Services with the request.
56 Apps that use Location Services must request location permissions. Android has two location
60 For example, If you request only coarse location permission, Location Services obfuscates the
77 <!-- Check for Google Play services -->
78 <h2 id="PlayServices">Check for Google Play Services</h2>
80 Location Services is part of the Google Play services APK. Since it's hard to anticipate the
82 to connect to Location Services. To check that the APK is installed, call
90 user to correct the problem, in which case Google Play services may send a result back to your
105 Since you usually need to check for Google Play services in more than one place in your code,
108 Play services:
115 * Define a request code to send to Google Play services
143 * by Google Play services
170 // Check that Google Play services is available
174 // If Google Play services is available
178 "Google Play services is available.");
181 // Google Play services was not available for some reason
185 // Get the error dialog from Google Play services
190 // If Google Play services can provide an error dialog
208 Snippets in the following sections call this method to verify that Google Play services is
212 Define Location Services Callbacks
214 <h2 id="DefineCallbacks">Define Location Services Callbacks</h2>
217 Services uses to communicate connection status to your app:
224 Specifies methods that Location Services calls when a location client is connected or
231 Specifies a method that Location Services calls if an error occurs while attempting to
234 services.
246 * Called by Location Services when the request to connect the
257 * Called by Location Services if the connection to the
268 * Called by Location Services if the attempt to
269 * Location Services fails.
274 * Google Play services can resolve some errors it detects.
276 * start a Google Play services activity that can resolve
286 * Thrown if Google Play services canceled the original
306 Location Services sends location updates to your app either as an {@link android.content.Intent}
314 The callback method that Location Services invokes to send a location update to your app is
348 Location Services allows you to control the interval between updates and the location accuracy
364 updates. If no other apps are receiving updates from Location Services, your app will
375 at which updates are sent. Location Services sends out updates at the fastest rate that any
542 * Called by Location Services when the request to connect the