开发者

How to obtain timezone of a particular area in android

I need to find the time zone of a area as my application will be available almost everywhere.. So i need 开发者_开发百科to find the time zone so that i can send notifications as per the time of a day... how to find out?


You can get the Timezone of the Device that is running your application with TimeZone.getDefault(); http://download.oracle.com/javase/1.4.2/docs/api/java/util/TimeZone.html#getDefault%28%29

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜