I want to make an app which checks the nearest place where a user is. I can easily get the location of the user and I have already a list of places with latitude and longitude.
What would be the best way to know the nearest place of the list against the current user location.
I could not find anything in the google APIs.
Best Answer
Reference: http://developer.android.com/reference/android/location/Location.html#distanceTo(android.location.Location)