I only need one location... so I only want to get one fix. However this is indeed a problem because I never know how many calls I have to make before to get an accurate reading...
On 25 mrt, 13:14, "[email protected]" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

