Create a list
Add all Activitienames to the list
In your Service you iterate through the list and check each entry if the Activity is running or not (IsPaused(Main))
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.