I am trying to add a 24 hour countdown timer

162 viewsandroid android-studio firebase java
0
Akash Mishra | 20 xp

I am trying to add a 24-hour countdown timer and should be running even in the background as well as the firebase.

It’s a quiz application and I want to show that after a quiz, this timer should be starting¬†for 24 hours.

I tried this method to implement and its working perfectly for minutes but not for the hours and also I can’t understand that how make this keep running in the background.

0
Kprabhu Got | 146 xp

you have to write a service for keep running this in background.