@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;
  }
예제 #2
0
 public void myKeyDown(int keyCode, KeyEvent event) {
   super.onKeyDown(keyCode, event);
 }