Android Question detect active activity

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))
 
Upvote 0
Back
Top