you can also use 'haversine' formula. google it. you need two geopoint. On Sep 16, 3:36 pm, Rocky <rkjhaw1...@gmail.com> wrote: > Hi Shashidhar, > > Thanks dear... > > On Thu, Sep 16, 2010 at 12:56 PM, Shashidhar <shashi.zep...@gmail.com>wrote: > > > > > > > Have a look at this > > >http://developer.android.com/reference/android/location/Location.html...[]%29<http://developer.android.com/reference/android/location/Location.html...> > > > <http://developer.android.com/reference/android/location/Location.html...> > > -Shashidhar > > > On Thu, Sep 16, 2010 at 12:45 PM, RKJ (Android developer) < > > rkjhaw1...@gmail.com> 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 android-developers@googlegroups.com > >> To unsubscribe from this group, send email to > >> android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs > >> cr...@googlegroups.com> > >> 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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs > > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Thanks & Regards > > Rakesh Kumar Jha > Software Developer > Symphony Services Corp (India) Pvt Ltd > Bangalore > (O) +918030273740 > (R) +919886336619
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en