Android count down timer in background

You must create your CountDownTimer class and extend it from Service class.
By doing so your activity becomes a service and it runs in the background even if you close
the application or the screen it doesnt matter it just does the task that you assign to it in the background .

Leave a Comment