I wanted to create a countdown to a game, such as recharging lives after a while. I know how to do a countdown, the problem is that I do not know how to make it continue when leaving the application (when it closes completely, even when the cell phone restarts) Look a lot and I think the best option would be to start a count when you exit the application and when you re-enter, subtract the elapsed time from the account. Can someone give me some guidance on how to do this? Thanks