What happens when android app is force closed
<p>I am interested to know what happens when a user click a "force close" in a pop up when application is not responding for a significant amount of time.</p>

<p>What all events will be fired?
Will the task removed from tray?</p>

<p>I think when an activity is force closed, dalvik will clean the app cache and start last activity in the back stack. But not sure how exactly it works.</p>

<p>Any input is appreciated.</p>

<p>Here is a resource I am looking at
<a href="http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html" rel="nofollow">http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html</a></p>
