List of usage examples for android.view KeyEvent KEYCODE_MENU
int KEYCODE_MENU
To view the source code for android.view KeyEvent KEYCODE_MENU.
Click Source Link
From source file:com.zoffcc.applications.zanavi.Navit.java
@Override public boolean onKeyUp(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_MENU) { if (cur_menu != null) { // open the overflow menu cur_menu.performIdentifierAction(R.id.item_overflow, 0); return true; }//from w w w .j av a 2 s . co m } return super.onKeyUp(keyCode, event); }
From source file:org.tvbrowser.tvbrowser.TvBrowser.java
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_MENU/* && "LGE".equalsIgnoreCase(Build.BRAND)*/) { return true; }//from ww w. java 2 s .c om return super.onKeyDown(keyCode, event); }
From source file:org.tvbrowser.tvbrowser.TvBrowser.java
@Override public boolean onKeyUp(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_MENU/* && "LGE".equalsIgnoreCase(Build.BRAND)*/) { openOptionsMenu();/*from www.j a v a2 s . com*/ return true; } return super.onKeyUp(keyCode, event); }