@Override public boolean onKeyRight() { if (mGallery == null) return false; KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); mGallery.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event); return false; }
public void myKeyDown(int keyCode, KeyEvent event) { super.onKeyDown(keyCode, event); }