Thursday, January 3, 2013

Android-Overriding Back Button


When you want to override back button you can do any action here.If you remove calling super method the back button will be disabled.

@Override
public void onBackPressed() {
     //do any action here
     super.onBackPressed();
}

No comments:

Post a Comment