[android-developers] Re: LocationManager - called very often when moving

2011-07-23 Thread Jan Nielsen
The problem was a bug removeing, and re-requesting updates very often. The minTime as you all know if not a gurantee, so when you unregister, and re-register and theres a gps update ready it gets fired right after you request it. If you then unregister and re-register ... :) On 21 Jul., 21:00,

[android-developers] Re: LocationManager - called very often when moving

2011-07-21 Thread lbendlin
Is your app the only one consuming the GPS? Did you maybe register another listener? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: LocationManager - called very often when moving

2011-07-21 Thread Jan Nielsen
I dont think there is any other programs requesting GPS, I have navigation app, but not running when I tested my app. I only request the update one place and before that I remove any registered listeners. LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);