Accuracy in the Android SDK

I am currently working on the Android version of App.
In the iOS version I use the ‘accuracy’ property to estimate the distance, and decide accordingly if a beacon is near enough to activate a view (this is beacon dependent, depending on the physical situation).

I read the blog post about ‘accuracy’ in Android. However, will you provide an interface for this in the future, even if not as accurate? It would be nice to be able to use the same logic in both cases instead of having to deal with RSSI and other factors to estimate a comparable ‘distance’ myself.

Yup, there is a way to do it in Android. See Utils#computeAccuracy method.

1 Like