Catch when Android application went on background
<p>I need help with Android.
Here is problem I need to catch event when application went to background.
(ex. home is pressed or any other action that push my app in backgound)
Currently I'm able to catch onPause for activity</p>

<pre><code>@Override
protected void onPause() {
    // TODO Auto-generated method stub
    super.onPause();
}
</code></pre>

<p>Is there any override for some event on application level ?</p>
