Trịnh Quốc Lâm
New member
How do I find out what background services are running on my Android?
Answer
The proper way to check if a service is running is to simply ask it.
Implement a BroadcastReceiver in your service that responds to pings from your activities. Register the BroadcastReceiver when the service starts, and unregister it when the service is destroyed.
Answer
The proper way to check if a service is running is to simply ask it.
Implement a BroadcastReceiver in your service that responds to pings from your activities. Register the BroadcastReceiver when the service starts, and unregister it when the service is destroyed.