Can I monitor when an app has been closed? For example when a user closes Maps(or any other app) can I make a popup come up saying "you closed maps"
<p>I basically want to add a feature to an app I am making but it would require me to know when the user closes certain apps. For example if the user closes any of the following; Maps, Firefox, Facebook, and Camera, A yes/no notification, kinda specific to the app, would come up for the user to answer.</p>

<p>It's something that sounds complicated i know but im pretty sure I've seen it done on a few android apps before.</p>

<p>Thanks</p>

<p>edit: so i was thinking since tasker can perform a task upon opening an app and then stopping the task when closing the app i can do what i want right?</p>
