In a database I have stored around 500 records, each with a latitude and a longitude.
In an Activity I implement a LocationListener
and in the onLocationChanged
-method I need to show the records that is within a radius of XX metres from the location received from this listener.
Is there an (easy) way to do this, either in SQL or Java?
Try this sample code,