Home | History | Annotate | Download | only in location

Lines Matching full:provider

14     <li><a href="#RunProvider">Run the Mock Location Provider App</a></li>
62 The best way to use mock locations is to send them from a separate mock location provider app.
63 This lesson includes a provider app that you can download and use to test your own software.
64 Modify the provider app as necessary to suit your own needs. Some ideas for providing test data
124 {@link android.location.Location} object using your test data. Always set the provider
130 private static final String PROVIDER = "flp";
136 * From input arguments, create a single Location with provider set to
141 Location newLocation = new Location(PROVIDER);
165 Run the Mock Location Provider
167 <h2 id="RunProvider">Run the Mock Location Provider App</h2>
169 This section contains a brief overview of the mock location provider sample app
174 The mock location provider app included with this lesson sends mock
176 in a started {@link android.app.Service}. By using a started service, the provider app is able
182 The {@link android.app.Activity} that starts when you run the provider app allows you to
191 The number of seconds to wait before the provider app starts sending test data to Location
192 Services. This interval allows you to switch from the provider app to the app under test
199 The number of seconds that the provider app waits before it sends another mock location to
228 Besides the options, the provider app has two status displays:
235 Displays messages related to the lifecycle of the provider app.
248 provider app returns to the foreground.
250 <h3>Test using the mock location provider app</h3>
252 To test mock location data coming from the mock location provider app:
256 Install the mock location provider app on a device that has Google Play services installed.
264 Start the provider app from the Launcher, then choose the options you want from the main
268 Unless you've removed the pause interval feature, the mock location provider app
273 Run the app you want to test. While the mock location provider app is running, the app
277 If the provider app is in the midst of a continuous test, you can switch back to real
287 mock location provider app.
291 Each location provider that contributes to the fused location sent out by Location Services has
292 its own minimum update cycle. For example, the GPS provider can't send a new location more often
293 than once per second, and the Wi-Fi provider can't send a new location more often than once
297 the Wi-Fi provider, then you should consider using a send interval of five seconds.
340 The mock location provider app included with this lesson contains test latitude, longitude,
349 Store location data in XML files that are including in the provider app. By separating the
356 Store location data on a server and then have the provider app download it. Since the data