How can I check what process is launched without refreshing all running processes
<p>I have written android app which kills background processes. My app looks for running processes lets say if browser opens it will close and kill it. Now it will check again this after some delay.
The thing annoying me is that I have to refresh it again and again, I need to catch any app launched on phone or something else and see whether lets say 'is a browser' then close and kill it.</p>

<p>Any efficient method to solve this problem ??</p>
