Google Docs tienen dos métodos

Si está recibiendo latitud/longitud de GeoPoint entonces están en microgrados. Debes multiplicar por 1e6.
Pero prefiero usar el siguiente método. (Está basado en la Fórmula Haversine)
http://www.codecodex.com/wiki/Calculate_Distance_Between_Two_Points_on_a_Globe
double dist = GeoUtils.distanceKm(mylat, mylon, lat, lon);
/**
* Computes the distance in kilometers between two points on Earth.
*
* @param lat1 Latitude of the first point
* @param lon1 Longitude of the first point
* @param lat2 Latitude of the second point
* @param lon2 Longitude of the second point
* @return Distance between the two points in kilometers.
*/
public static double distanceKm(double lat1, double lon1, double lat2, double lon2) {
int EARTH_RADIUS_KM = 6371;
double lat1Rad = Math.toRadians(lat1);
double lat2Rad = Math.toRadians(lat2);
double deltaLonRad = Math.toRadians(lon2 - lon1);
return Math.acos(Math.sin(lat1Rad) * Math.sin(lat2Rad) + Math.cos(lat1Rad) * Math.cos(lat2Rad) * Math.cos(deltaLonRad)) * EARTH_RADIUS_KM;
}
Por último me gustaría compartir información de la prima.
Si usted está buscando para direcciones de manejo, ruta entre dos ubicaciones luego ir a
http://code.google.com/p/j2memaprouteprovider/
duplicado de http://stackoverflow.com/questions/2741403/get-the-distance-between-two-geo- puntos – logcat
Lee todas las respuestas a esta pregunta http://stackoverflow.com/questions/7696112/gettting-different-distance-when-using-the-google-map-and-user-defined-function/7752341#7752341 – MKJParekh
mira la pregunta [aquí] (http://stackoverflow.com/questions/19218081/how-to-calculate-distance-from-different-markers-in-a-map-and-then-pick-up-the-l) . Esto tiene una respuesta similar con cálculos de distancia múltiple. Ver la respuesta aceptada. – Akshat