我想使用android编码在我的应用程序中每隔五秒使用一次自动更新时间 [英] I wants to use automatic update time for every five sec in my application using android coding
本文介绍了我想使用android编码在我的应用程序中每隔五秒使用一次自动更新时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
嗯,使用天文台 [ ^ ]。!!
根据doucmentation(如果我没错;)):
这是一个实现一个简单的计时器的类。
您可以使用 elapsedRealtime() [ ^ ]。
-KR
Am Anandraj, Am new to Android, I created one appllication , In that I want to Use automatic update time. I wants to use automatic update time for every five sec in my application using android coding.. Please any one help me immediately to achieve this target..
解决方案
Well, use Chronometer[^].!!
As per the doucmentation (if I'm not wrong ;)):
It is a class that implements a simple timer.
You can use elapsedRealtime()[^] of this class.
-KR
这篇关于我想使用android编码在我的应用程序中每隔五秒使用一次自动更新时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文