OnBackPressed is not being called?
<p>I have overrided the OnBackPressed function inside my activty, but it's not being called. On other activities it's working fine.
Here is my method:</p>

<pre><code>@Override
public void onBackPressed() {
    Log.e("back",""+1); 
    UserPage.getstate().finish();
    Intent i=new Intent(CreateGroup.this,UserPage.class);
    i.putExtra("title11","dd");
    startActivity(i);
    finish();
}
</code></pre>

<p>This method is not being called, and the default OnBackPresssed is called everytime i press the back button.</p>
