timr task and timer problems
i tried using timer task and timer classes from java.util
but whenever i set the rate of repeatition to somwhere around a bit more then twice per second i get a latency problem, which means the task is not occuring exactly when it should , mostly its late, and somtimes it happens too fast.
how can i fix this problem?
the task is very simple: play a sound.
also in some mobile phones the timer task is accurate up to higher rates the other phones.
please help me solve this prolem,