如何从Android手机的时间把国名? [英] How to get country name from time of android mobile?

查看:196
本文介绍了如何从Android手机的时间把国名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是很新的Andr​​oid开发。我想根据特定手机的当前时间来接国名,点击按钮同时。我怎样才能做到这一点?任何机构告诉我吗?先谢谢了。

Hi I am very new to Android Development. I want to pick the country name based on the current time of the particular mobile, while clicking the button. How can i do it? Any body tell me? Thanks in advance.

推荐答案

这似乎很难因为大多数时区包含多个国家(和国家多个时区以及)。

It seems difficult considering most timezones contain multiple countries (and countries multiple timezones as well).

请参阅:<一href="http://stackoverflow.com/questions/4096014/android-is-there-a-way-to-get-timezone-for-country-name">Android:有没有办法让时区的国家名称?

这篇关于如何从Android手机的时间把国名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆