You should prefer using this interface to trying to write your own, and you should definitely stay away from writing your own timer code in an environment like the N810.
您应该喜欢使用这种接口尝试编写自己的警报,而且您肯定不会在 N810 这类环境中编写自己的计时器代码。
The programmatic interface of this class is not consistent with the other two timer classes and it's also a bit more cumbersome.
这个类的可编程接口同其它两个类也不一致,它稍微有点麻烦。
As with the Work interface, this class extends Runnable, and Timer invokes the run method at the appropriate times.
同使用Work接口时一样,这个类扩展了Runnable,而且Timer会在适当的时间调用run方法。
应用推荐