Possible Duplicate:
android: check if a service is running
I have a service with puts up a notification. If the user leaves the App and comes back I want to toggle a button if the service is running. How do I check whether the service is running?
Possible Duplicate:
android: check if a service is running
I have a service with puts up a notification. If the user leaves the App and comes back I want to toggle a button if the service is running. How do I check whether the service is running?