How do I check if a background service is running?

I want an Android activity that toggles the state of the service — it lets me turn it on if it is off and off if it is on.

32 s
32

Leave a Reply

Your email address will not be published. Required fields are marked *