If this is in a running activity,you could use Timer/TimerTask and a Handler,or you could use postDelayed() and an AsyncTask.
这里:Android Repetitive Task
我还在学习如何编程android.我已经掌握了我所知道的技能,包括线程,并且我的代码有很多问题.任何人都可以给出一个如何使用的例子:time / timertask和handler或postDelayed()和AsyncTask.
提前致谢 :)