标签:
1 private Timer mTimer = new Timer(); 2 private void timerTask(){ 3 mTimer.schedule(new TimerTask() { 4 @Override 5 public void run() { 6 mHandler.sendEmptyMessage(1); 7 Log.i(MainActivity.class.getSimpleName(),"定时更新UI成功"); 8 } 9 },30000,30000); 10 }
标签:
原文地址:http://www.cnblogs.com/xxxlu/p/5693843.html