Application pause/resume state
<p>My question is can i get to know when the entire application gets paused/resumed start/stop etc.
For example if i have 5 activities in my application. Whenever any activity gets paused/resumed android notify the activity by calling the onPause/onResume methods.</p>

<p>So there are two possible scenarios when my activity gets paused.
1. My activity-2 gets paused because my activity-3 gets invoked.
2. My activity-2 gets paused because of some outside activity like incoming call.</p>

<p>Here I am interested only tracking when my activity gets paused by outside activities not my own application activities.</p>

<p>So is there any android provided solution for this or do I have to write my customized solution.</p>

<p>Thanks
Dalvin</p>
