Android Question GPS AccuracyValid / Accuracy

Robert Valentino

Well-Known Member
Licensed User
I am trying to understand how to use

GPS AccuracyValid and Accuracy

I think AccuracyValid is a flag that tells if Accuracy is Valid? If Accuracy is NOT valid then what is it?

Accuracy is a number in meters (is this a Plus or Minus Number) like 3 +/- meters?

I haven't been using these at all and was wondering should I and what is there impact?


Robert Valentino

Well-Known Member
Licensed User
I found what I was looking for:

Get the estimated accuracy of this location, in meters.

We define accuracy as the radius of 68% confidence. In other words, if you draw a circle centered at this location's latitude and longitude, and with a radius equal to the accuracy, then there is a 68% probability that the true location is inside the circle.

In statistical terms, it is assumed that location errors are random with a normal distribution, so the 68% confidence circle represents one standard deviation. Note that in practice, location errors do not always follow such a simple distribution.

This accuracy estimation is only concerned with horizontal accuracy, and does not indicate the accuracy of bearing, velocity or altitude if those are included in this Location.

If this location does not have an accuracy, then 0.0 is returned. All locations generated by the LocationManager include an accuracy.