 <p>The one you have posted should work,<br> still try this, it should work </p> <pre><code>@Override public boolean onKeyDown(int keyCode, KeyEvent event) { final int keyCode = event.getKeyCode(); if (keyCode == KeyEvent.KEYCODE_MENU){ return true; } return super.onKeyDown(keyCode, event); } </code></pre>