@Override public boolean onOptionsItemSelected(MenuItem item) { // This passes the menu option string to OF // you can add additional behavior from java modifying this method // but keep the call to OFAndroid so OF is notified of menu events if (OFAndroid.menuItemSelected(item.getItemId())) { return true; } return super.onOptionsItemSelected(item); }