Hi, thanks! There are a lot of web services that provide country codes. But I would rather like to do it offline, directly on the device. Is there any possibility to get the country code from any API directly on the device?
Am 19.05.2011 um 12:41 schrieb gaurav gupta: > Hi , i can provide u api for finding country name and city name using > longitute and latitute. > in this api u can get country code too. > its api is mainly for weather report but u can use it, here a tag > <country>IN</country> gives country code. > i hope it will work for u > > http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=28.6484223,77.1265769 > > > <country>IN</country> > > </country_iso3166> > > chk these tags of this api.it will work 4 u. > u just change longitute and latitute in this url u will get the anycountry's > code; > :) > > On Thu, May 19, 2011 at 3:00 PM, mboehmer <mboeh...@fh-muenster.de> wrote: > Is it possible to get a country code for the user's current location from the > location API? Or from somewhere else? > > -- > 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 > > > -- > 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 -- 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