Questions tagged [locationrequest]
2 questions
0
votes
1 answer
Android getMinUpdateDistanceMeters. Does it really save any battery?
Im trying to get location in my Android app, saving as much battery as possible. Im setting PRIORITY_HIGH_ACCURACY because I need the location to be better than about 20m, so I understand that it will be always using the GPS
The function…

PMF
- 1
0
votes
1 answer
How to get the onLocationResult be triggered all the 30m of displacement in a LocationRequest with the locationCallback?
I don't understand, the Interval in milliseconds works well, but the minimum distance doesn't work. How to get the onLocationResult be triggered all the 30m of displacement in a LocationRequest with the locationCallback ?
if (locationRequest ==…

ΩlostA
- 2,501
- 5
- 27
- 63