I have a service that runs when the app is not in the foreground, and is killed when then app is in the foreground, so I just check to see if the service is running or not, and it works a treat !
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.