"In case the provider is disabled by the user, updates will stop, and
the onProviderDisabled(String)  method will be called. As soon as the
provider is enabled again, the onProviderEnabled(String) method will
be called and location updates will start again. "

Is there a way to enable or disable gps provider in the emulator to
get to run this methods?


On Nov 10, 5:23 pm, Christine <[EMAIL PROTECTED]> wrote:
> The documentation says that you can specify these parameters but you
> have no guarantee that you will get updates as you specify them.
>
> On Nov 10, 9:09 pm, "dave.marsden" <[EMAIL PROTECTED]
>
> services.co.uk> wrote:
> > I'm using the following statement to request updates on my G1s
> > position :
>
> > lm.requestLocationUpdates(
> >             LocationManager.GPS_PROVIDER,
> >             30000,
> >             30,
> >             locationListener);
>
> > Which I reckon shuold give me an update every 30sec when the device
> > has moved more than 30 metres.
>
> > However the device seems to get updates much more frequently. Anybody
> > any ideas?
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to