Android run a Task Periodically

Viewed 52301

I want to run a method periodically in an android activity which updates a certain field after x seconds. I know it can be done in timerTask but what is the best way to do it? Code samples would be helpful.

3 Answers
Related