How to know which app is opened?
<p>I want to know when any app is opened. Clearly to say, i am making service that blocks some apps ( according to user ) and i want to check app is this similar to any app in the blocklist and abort that app process. And does it need root access ?</p>
