How can I check the state (pause/running/suspended) of a particular process running on the Android device programmatically? I want to include this logic within my application.
Using ActivityManager
, I am able to retrieve a list of all processes running on the device, but it doesn't show me any process state information. Any idea on how I can retrieve this information?
Thanks in Advance.