When you 'exit' an application, it isn't necessarily immediately
destroyed by the system (see the activity lifecycle documentation), so
I suspect that's why the GPS stays active and keeps getting updates.
You might want to remove updates in onStop() instead.

Probably unrelated, but calling onDestroy from onLocationChanged looks
a bit odd? Looks like you will only ever get one update?
--~--~---------~--~----~------------~-------~--~----~
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