Hi.
I played around with the locationframework and have a question about the the gpsprovider.
When registering a locationlistener you can specify minTime and minDistance. I know from the documentation these parameters are more "guidelines" but I thought it should work at least approximately.
When registering a locationlistener for the gpsprovider with setting minTime to let's say 30 seconds (30000ms) and minDistance to 0, meaning I want an update each 30 seconds, regardless how far I have moved something strange happens:
The gps starts. When it has got the first position fix, it sends positionupdates every second for 10 times, then gps stops. 20 seconds later (which as I discovered is the intervaltime 30 seconds after starting the first update) it reactivates and gets a new fix. again its updating 10 times and then stops. And so on...
STRANGE!
Why doesn't it update once every 30 seconds like i specified? Why 10 times with an interval of 1 second and then a break until the next specified updateinterval?
Has somebody seen this too?
I'm using android 1.6 on a G1.
Any ideas?
Apart from that it seems that the networkprovider couldn't provide locationupdates faster than about a minute.
Regards.


