Hello,
In my application I use a timer that counts down the seconds until zero.
When I close the application with the home button, the timer stops, and when I open the application again the timer indicates the time it was closing. The timer is stopped.
I would like when application is closed, timer continues to run and when I reopen the appli I find timer running.
I think I have to use Activity_pause or activity_resume but I do not see what I have to put into. Can you help me?
Thank you
In my application I use a timer that counts down the seconds until zero.
When I close the application with the home button, the timer stops, and when I open the application again the timer indicates the time it was closing. The timer is stopped.
I would like when application is closed, timer continues to run and when I reopen the appli I find timer running.
I think I have to use Activity_pause or activity_resume but I do not see what I have to put into. Can you help me?
Thank you