Hi, none of the solutions described above worked for me.
The only thing working for me is the geo command via telnet...
On 30 août, 16:16, drew <[EMAIL PROTECTED]> wrote:
> I have exactly the same problem. The provided LocationProvider "gps"
> that is supposed to simulate a journey between two locations in the
> San Francisco Bay Area does not send any location updates despite
> being configured properly and having the proper permissions. I am
> completely lost as to the cause.
>
> On Aug 26, 12:28 pm, munzelmann <[EMAIL PROTECTED]> wrote:
>
> > > 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); // justmockvalues
> > > 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
-~----------~----~----~----~------~----~------~--~---