Distance demo needed

How can I get the distance from a beacon on my application, is there any example code for this or the source code which I can get to learn about this feature

Take a look at the DistanceBeaconActivity:

https://github.com/Estimote/Android-SDK/blob/master/Demos/src/main/java/com/estimote/examples/demos/activities/DistanceBeaconActivity.java

from our Android demos:

https://github.com/Estimote/Android-SDK/tree/master/Demos

What happened to this demo? I know beacon accuracy is notoriously inaccurate, but a demo would have been good to see.