I am trying to add a 24 hour countdown timer

273 viewsandroid android-studio firebase java
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.

Kprabhu Got | 158 xp

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