I'm trying to bind the android's keyboard enter button as submit/go button, but it is showing that the onKeyDown
method is not defined in this scope, below is attached the snapshot of my code
@Override
public boolean onKeyDown( int KeyCode, KeyEvent event)
{
if (KeyCode == KeyEvent.KEYCODE_BACK)
if (bro.cangoBack()) {
bro.goBack();
return true;
}
}
Actually I'm trying to build a browser and I need the keyboard button as submit button.