I’d like to add a repititive taksk to a Service in my Android app. I’ve read about Runnable/Handler constructs, and about the Timer.scheduleAtFixedRate(). I’m wondering which one is the best approach.
I’m especially worried about the “scheduleAtFixedRate()” being run multiple times at once if execution takes longer than the interval. Or is that not possible?
You can try this.