import java.util.Timer;
import java.util.TimerTask;
import android.os.*;
import java.util.concurrent.*;
public class 系统线程 extends TimerTask{
public Timer timer=new Timer();
Handler handler;
public int time=1000,jishi=0;
public 系统线程(int t){
this.time=t;
handler = new Handler() {
public void handleMessage(Message msg) {
jishi++;
if(jishi>time){
运行();
jishi=0;
}
super.handleMessage(msg);
}
};
timer.schedule(this,0,1);
}
public void run(){
Message m;
m = handler.obtainMessage();
handler.sendMessage(m);
}
public void 运行(){
}
}