我如何设置时间上的机器人模拟时钟? [英] How do I set the time on an android analogue clock?
问题描述
我创建一个Android应用程序,获取当前时间在不同的国家/时区。我做它作为有一些做同样的工作在市场上没有多少其他应用程序。
I'm creating an android application that gets the current time in a different country/time-zone. I'm making it as there aren't many other apps on the marketplace that do the same job.
我得与我的应用程序下方的数字时钟的模拟时钟,我怎么更改时间上的时钟 - 以打开或关闭数个小时?例如,我可能希望时钟显示在佛罗里达州的时候,所以对我来说这会是-6小时。
I've got an analogue clock with a digital clock underneath on my app, how do I change the time on the clocks - take on or off a number of hours? For example, I may want the clock to display the time in Florida, so for me that'd be -6 hours.
虽然我在其他编程语言精通;主要是.NET我是新来的Java,所以请原谅简单的问题!
Although I'm proficient in other programming languages; mainly .NET I'm new to Java, so please excuse the simple questions!
三江源!
推荐答案
模拟时钟部件在android系统<一个href=\"http://stackoverflow.com/questions/4291923/how-to-set-time-on-android-analog-clock-component\">doesn't允许设置时间但作为源可用,你可以修改它
The analog clock widget in android doesn't allow setting the time but you could adapt it as the source is available.
这篇关于我如何设置时间上的机器人模拟时钟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!