Home | History | Annotate | Download | only in location

Lines Matching full:services

10     <li><a href="#CheckServices">Check for Google Play services</a></li>
11 <li><a href="#DefineCallbacks">Define Location Services Callbacks</a></li>
19 <a href="{@docRoot}google/play-services/setup.html">Setup Google Play Services SDK</a>
34 Location Services automatically maintains the user's current location, so all your app has to do
38 Location Services sends the current location to your app through a location client, which is
39 an instance of the Location Services class
46 <a href="{@docRoot}google/play-services/setup.html">Setup</a> section in the Google Play
47 services guide.
54 Apps that use Location Services must request location permissions. Android has two location
58 location permission, Location Services obfuscates the returned location to an accuracy
75 Check for Google Play Services
77 <h2 id="CheckServices">Check for Google Play Services</h2>
79 Location Services is part of the Google Play services APK. Since it's hard to anticipate the
81 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
95 Since you usually need to check for Google Play services in more than one place in your code,
98 Play services:
105 * Define a request code to send to Google Play services
133 * by Google Play services
159 // Check that Google Play services is available
163 // If Google Play services is available
167 "Google Play services is available.");
170 // 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
197 Snippets in the following sections call this method to verify that Google Play services is
201 Define Location Services Callbacks
203 <h2 id="DefineCallbacks">Define Location Services Callbacks</h2>
206 to Location Services, and then call its
212 Before you create the location client, implement the interfaces that Location Services uses to
220 Specifies methods that Location Services calls when a location client is connected or
227 Specifies a method that Location Services calls if an error occurs while attempting to
230 services.
242 * Called by Location Services when the request to connect the
254 * Called by Location Services if the connection to the
265 * Called by Location Services if the attempt to
266 * Location Services fails.
271 * Google Play services can resolve some errors it detects.
273 * start a Google Play services activity that can resolve
283 * Thrown if Google Play services canceled the original
307 Location Services.
312 {@link android.support.v4.app.FragmentActivity#onStart onStart()}, so that Location Services
315 visible, Location Services is not maintaining the current location. Following this pattern of
320 connected to Location Service. Assuming that no other apps are connected to Location Services,
386 you how to receive periodic location updates from Location Services.