I want a speed factor in my GPS app in android. I want to use both a network service provider and a gps provider both to receive location updates. But the network provider is unlikely to give speed. Although the GPS provider provides the fix many times.
But is it true that if a fix is found without speed, the device will not request a new update until the interval or distance specified in requestLocationUpdates changes? If so, how can I force him to continue until I have speed. I found the Criteria class, but we can only use it when choosing a provider. I want to use it when I receive a fix. Can I?
Another thing that I noticed is that sometimes I get speeds up to 127 m / s at startup, even I'm sure that it will normalize to the actual speed. Is this a device problem (tested in G1) or is it generally dependent on satellite or location?
Does the criterion use when choosing a supplier, does it provide me with points of location that do not suit him? For example, if I set the criteria for Obj.setSpeedRequired (true), then I will not get points if they are not. Since I need to update the position anyway.
Any suggestions?
source
share