title: onPause not called when back button pressed?
body: <p>It was my understanding, obviously wrong, that <code>onPause()</code> is called whenever the back button is pressed? Now in my code I've put this <code>onPause()</code> event:</p>
  
  <pre><code>@Override
  protected void onPause(){
      super.onPause();        
  
      if(!_END_GAME){
          Builder _alert = new AlertDialog.Builder(this)
          .setMessage("onPause, with game NOT over!");
          _alert.setNeutralButton("OK.",
                  new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface arg0, int arg1) {
                  arg0.dismiss(); // Kills the interface
                  System.runFinalizersOnExit(true);
                  finish();
              }
          });
          _alert.setTitle("Your Score!");
          _alert.show();
      }
  </code></pre>
  
  <p>}</p>
  
  <p>Now the problem is, the dialog does not launch what-so-ever, and then the code errors out. I put the dialog there to try to visualize where the <code>onPause(</code>) was called and help me debug some other variables and such. Yet like I said it never even gets shown. Any ideas why this would be? Is there a function that is launched prior to <code>onPause()</code> when the back button is pressed? Thank you in advance for any info.</p>