The "Haversine" formula computes distance between two points along a
spheroid (such as Earth). You will need to know the coordinates of
each city to use this formula. Coordinates for nearly all cities in
the world can be downloaded from the geonames.org website for free.
The Google geocoder will also return those coordinates but you'll have
to obey the terms in order for you to use that service. For the exact
formula, try searching Google.

-John Coryat

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to