I've found some video tutorial of Tihomir RAdeff that says how to develop a simple Digital Clock as part of custom View. But it is an example of how to run the Clock drawing in UI thread using Handle and Runnable.
Is it a perfect way to develop the app uses infinitelly repeating draw against to the memory usage issue and battery life preservation?
I guess the better way is to carry all heavy code into a separate thread. But all examples I found are based on the UI thread usage.
Whould you please posting any example on usage the separate thread to produce the digital clock not as widget but an activity part.