Hi,
I have a TimerTask called updateTask, that I want to execute every 10 seconds, so I have the follwoing timer:
Timer myTimer = new Timer(updateTask, 10000);
,which I initialize when the app gets executed, so when the first 10 seconds pass the task gets executed, but that's the only time it gest executed. Isnt supposed to get executed every 10 seconds ? Right now, what im doing is reinitializing the timer over and over
Thanks in advanced
I have a TimerTask called updateTask, that I want to execute every 10 seconds, so I have the follwoing timer:
Timer myTimer = new Timer(updateTask, 10000);
,which I initialize when the app gets executed, so when the first 10 seconds pass the task gets executed, but that's the only time it gest executed. Isnt supposed to get executed every 10 seconds ? Right now, what im doing is reinitializing the timer over and over
Thanks in advanced