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. how to receive general IO events ?

Hello All!
Is it possible to be notified about general IO in system ?
For example I want to receive some file reading events and blinking
with some indicator...


2. Publishing Upgrades on Android Market ... Still Relevant?

Are the docs on the Developer site regarding Publishing out of date?
In other words, is the Market still considered Beta and do users
actually need a web service to compare their versions with so they can
query the Market for updates?

This is what is on the Android Developer site:



3. Trouble with GLSurfaceView

4. DTD Handler aren't supported

5. to unsubscribe android group

6. Work Email for Android

7. Zoom of android