How do I make an application run in the background indefinitely?
I am trying to make a simple timer application. I want the timer to run even after the user has navigated away from it, but when I run the application and try to come back to it restarts and the timer is no longer running if I do not come back to it in two minutes. Is there anyway to ensure that it will keep running forever without having to come back to the application every two minutes. If need by I can provide sample code or more explanation. Thank you.
How do I make an application run in the background indefinitely?
===

I am trying to make a simple timer application. I want the timer to run even after the user has navigated away from it, but when I run the application and try to come back to it restarts and the timer is no longer running if I do not come back to it in two minutes. Is there anyway to ensure that it will keep running forever without having to come back to the application every two minutes. If need by I can provide sample code or more explanation. Thank you.