title: Activity losing focus due to another Activity in the same app vs a separate app / device interrupt
body: <p>I need to log an event only when the application as a whole has lost focus (such as an incoming call or the home key).</p>
  
  <p>What is the best way to tell an Activity has been paused or stopped from an external event rather than another activity within the same app?</p>
  
  <p>Thanks</p>