SyntaxFix
Write A Post
Hire A Developer
Questions
The ActivityManager class is the appropriate tool to see which processes are running.
To run in the background, you typically want to use a Service.