Friday, October 5, 2012

timer task

final Timer timer = new Timer();
timer.schedule(new TimerTask(){
@override
 public void run(){
 // write your business here
timer.cancel();
}
},5000);

No comments:

Post a Comment