HI,
cant understand ur requirement. please explain,
if u want to use without any interaction of internet. then u have to make it
static and add all the list in ur String.xml
http://code.google.com/apis/adwords/docs/appendix/countrycodes.html
please explain ur requirement.den anyone can help u.

2011/5/19 Matthias Böhmer <[email protected]>

> 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 <[email protected]>
> 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 [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
> >
> >
> > --
> > 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
>
> --
> 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
>

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