Country code from Location API

by mboehmer » Thu, 19 May 2011 17:30:18 GMT

Sponsored Links
 Is it possible to get a country code for the user's current location from 
the location API? Or from somewhere else?


Re: Country code from Location API

by gaurav gupta » Thu, 19 May 2011 18:42:14 GMT

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


chk these tags of this will work 4 u.
u just change longitute and latitute in this url u will get the anycountry's


Sponsored Links

Re: Country code from Location API

by Matthias B枚hmer » Thu, 19 May 2011 18:52:20 GMT

 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:


Re: Country code from Location API

by gaurav gupta » Thu, 19 May 2011 18:56:36 GMT

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 
please explain ur requirement.den anyone can help u.

2011/5/19 Matthias Bhmer <>


Other Threads

1. Order Inbox - symbol meaning?

How do I know in the Order Inbox which items were charged properly?
Where can I find what the symbols mean under the Charge column? Is a
"-" a successful charge, or a "O"?


2. gestion m茅moire G1

Bonjour Je Recherche Une Application Pour grer L'espace mmoire Du
HTC G1 De faon A Ne Plus tre Limite. Comme Bosstool Le Fait Pour
Iphone. Il dplace Les Photos et Applications Sur La Carte Sd.


3. What happens to app when a customer requests a refund?

4. Fwd: Port Gstreamer to Android

5. what's the way to put or access a file onthe sdcard

6. runtime error using exported/signed apk but no runtime error using Eclipse IDE

7. Supported codecs