I found it sometimes takes a couple of seconds for GPS to stop (or
rather: for the status symbol to disappear).
Also - are you sure you haven't registered more listeners than you
remove? Location providers stay on until the last listener is removed.



On Jul 2, 8:22 pm, tstanly <[email protected]> wrote:
> hi all,
>
> i have a location manager:
>
> mLocationManager01 = (LocationManager)getSystemService
> (Context.LOCATION_SERVICE);
>
> because i want to stop the gps service,
> but when i use
>
> mLocationManager01.removeUpdates(mLocationListener01);
>
> that's not working to stop gps.
>
> how can i stop it?
>
> thank you
--~--~---------~--~----~------------~-------~--~----~
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