摘要:
Simple,just need to override the onKeyDown method of the current activity: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case KeyEvent.KEYCODE_VOLUME_DOWN: SwitchPage(true); return true; case KeyEvent.KEYCODE_VOLUME... 阅读全文