In my app, I need to keep track of the user location. To do so, I'm using FusedLocation
, from which, I'm asking the location every 10s. Unfortunately, the location that is return has a accuracy of 500.0 meter or 164O feet. In the Android FusedLocation
doc, it is stipulate that
location updates that are accurate to within a few feet
My request is set to :
LocationRequest locationRequest = new LocationRequest();
locationRequest.setSmallestDisplacement(10);
locationRequest.setInterval(30000); // 30 s
locationRequest.setFastestInterval(10000); // 10 s
locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
Also, I'm asking the permission of both coarse and fine location.
How can I get a better accuracy ?