Timer和Handler实现轮询
private static final int time = 1000; private TimerTask mTimerTask; /* * delay:延时时间(毫秒) pre:轮询间隔(毫秒) mhandler:用来执行轮询的Handler * */ public Timer startTimer(long d...