Q:

Android backbutton override issue in 4.4.2

I want to ask about back button override functionally. 
I am using this approach. 
@Override
public boolean onKeyDown(int keyCode, KeyEvent event)  {

    return super.onKeyDown(keyCode, event);
}

It works fine all Android platforms but its not working fine on Anroird 4.4.2
How can I implement backbutton override in Android 4.4.2?  

A:

hi why dont you use onBackPressed()
@Override
public void onBackPressed() {
    super.onBackPressed();
}

Try this.  and let me know the feedback's.