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,
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,
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);
3 matches
Mail list logo