Have a look at this
http://developer.android.com/reference/android/location/Location.html#distanceBetween%28double,%20double,%20double,%20double,%20float[]%29

<http://developer.android.com/reference/android/location/Location.html#distanceBetween%28double,%20double,%20double,%20double,%20float[]%29>
-Shashidhar

On Thu, Sep 16, 2010 at 12:45 PM, RKJ (Android developer) <
[email protected]> wrote:

> Hi All,
>
> I want to calculate the distance between 2 city, whatever user
> mention.
>
> Example -
> Default City - 1st City - New York or New Delhi, London Seoul anything
> User Put     - 2nd City - California
>
> Need - to calculate distance between California to New York  or London
>
> Welcome any hints
> --RKJ
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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