Android GPS坐标距离计算
Android API :
Android API–Location
http://androiddoc.qiniudn.com/reference/android/location/Location.htm
public float distanceTo (Location dest)
Added in API level 1
Returns the approximate distance in meters between this location and
the given location. Distance is defined using the WGS84 ellipsoid.Parameters dest the destination location Returns • the approximate
distance in meters
Location
Location API 接口
http://androiddoc.qiniudn.com/reference/android/locat