title: Android Application On Exit Event
body: <p>I need some help in application exit handling.
  My application has multiple Activity say : - EntryAct, Act1, Act2 .... Act10.</p>
  
  <p>When user presses home key on any of these Activities, I need to do some flag setting.</p>
  
  <p>Handling home key in every application Activity is not possible!
  Can someone tell how this can be achieved?</p>
  
  <p>Can't change anything in OnPause,OnStop or OnDestory of all activities Act1... Act10. :-(</p>