如何使用经度和经度android获取2个字符国家/地区名称?(How to get 2 Character Country name using longitude and longitude android?)
我可以获得经度和经度的机器人。 现在我想得到一个简短的国家名称。 怎么做? 我也有国家代码...我想要的只是显示简短的国家名称,例如“UK”,“SG”等...
I can get the longitude and longitude android. And now I want to get the short country name against it. How to do that? I also have country code... All I want is to show short country name e.g "UK" , "SG" etc...
最满意答案
最后,我找到了一个网络服务,提供2位数的国家代码和温度。 它非常简单
http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=31.50766766,74.33741188000002
Finally I found a web-service that give 2 digit country code along with temperature. Its very simple
http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=31.50766766,74.33741188000002
更多推荐
发布评论