I have a problem with events schedulation. I need to change text color every fixed time. Range of this is between 100ms and 300ms. I've tried to use Android Timer - TimerTask but after 10-15 Thread the rendering is delayed then I lost real time update. I've tried also to use Thread.sleep() but I've had an exception with MainThreadActivity. Timer problem I think that is JVM Thread allocation or at most a concurrency problem. I asked you what is the best way for scheduling fast event with fixed delay in Android and if my approach is correct.
Thank you in advance.
Fabio