title: How to detect "Recent Apps" system button clicks (Honeycomb+)
body: <p>I'm wondering what method this button calls.</p>
  
  <p><img src="https://i.stack.imgur.com/OmXeB.png" alt="enter image description here"></p>
  
  <p>My game always pauses/resumes correctly except for when I use this button, its seems like this button doesn't call the <code>onPause()</code> and <code>onResume()</code> methods of an <a href="http://developer.android.com/reference/android/app/Activity.html" rel="noreferrer">Activity</a>.
  It works if I exit the game, go to another window(like the one on the picture) and then use this button to resume. But If I just press this button, when ingame, the game pauses but the thread dosnt resume like it does every other time, the game kind of just stands still on screen and flickers a bit. </p>
  
  <p>Hard to explain but I hope I'm being sort of clear, if not, ask!</p>