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 longitu
There are two ways to get distance between LatLng.
public static void distanceBetween (double startLatitude, double startLongitude, double endLatitude, double endLongitude, float[] results)
See this
and second
public float distanceTo (Location dest) as answered by praveen.
public float distanceTo (Location dest)