1

I need to track device location in my app and draw it's route on the map. But I ran into a situation my geolocation service receives locations update even when the device is resting on the table. The resulting locations are always a little different from the original position and therefore I have unnecessary lines and figures on map drawn. I tried to receive location updates from LocationManager and FusedLocationProviderApi, but the results of work are the same.
I tried to use Kalman Filter to reduce the noise in the received data (I used these implementations: KalmanLocationManager and implementation from this SO post), but results are still leave much to be desired.

How else can I improve the accuracy of location data and receive location updates only when device is really moving? Any help or advice appreciated

Thanks.

Community
  • 1
  • 1
ibogolyubskiy
  • 2,271
  • 3
  • 26
  • 52

0 Answers0