摘要:
延迟执行可以通过以下操作实现,按照推荐的顺序列出来1.new Handler().postDelayed(new Runnable(){ public void run() { //execute the task } }, delay); 2.mHandler.sendEmptyMessageDelayed(WIFI_GPS_STATE_ON, 4 * 1000);3.利用定时器TimerTask task = new TimerTask(){ public void run(){ //execute the task ... 阅读全文
posted @ 2013-07-23 17:19
上风华
阅读(430)
评论(0)
推荐(0)

浙公网安备 33010602011771号