View Single Post
Old 02-16-2010, 05:28 AM   #14 (permalink)
Knows Where the Search Button Is
Join Date: Apr 2009
Model: 8800
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts

Problem is not clear for the above code. Please try to change your timer frequency value and post the results if you observe any change in the output.

However, to get a fast working timer task code, Try to define the timer variable inside the TimerTask class definition and use schedule API on it. Example:
timer.schedule(this, 2500, 2500).
Offline   Reply With Quote