> Try this for manual test:
> ***
> LocationManager lm = (LocationManager)
> getSystemService(Context.LOCATION_SERVICE);
> lm.setTestProviderStatus(LocationManager.GPS_PROVIDER,
> LocationProvider.AVAILABLE, null, System.currentTimeMillis());
> lm.setTestProviderEnabled(LocationManager.GPS_PROVIDER, true);
>
> lm.requestLocationUpdates(PROVIDER_NAME, 0, 0, mLocationListener);
>
> Location loc = new Location("gps");
> loc.setLatitude(13.32); // just mock values
> loc.setLongitude(13.32);
> lm.setTestProviderLocation("gps", loc);
> ***
>

OK, this works and I get exactly one location update with 13.32/13.32.

But I need more updates of the location to simulate movement along a
track. The android documentation states:

Note: By default, the LocationManager currently provides a single
LocationProvider called "gps" that simulates a journey between two
locations in the San Francisco Bay Area.

Did someone see location updates from this journey? (I saw it in M5
but now in 0.9 it seems broken).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to