How can you restrict certain apps from launching on Android?
<p>I'm trying to build a sandboxed environment in which only certain apps are allowed to be launched.</p>

<p>I had originally decided to try polling all running apps in the background to see which ones were running, then killing any that weren't on the whtielist. However, I discovered that you can only kill background processes, not active tasks.</p>

<p>If this can be done, how? </p>
