Description: public boolean onKeyDown(int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_UP:
up=true
break
case KeyEvent.KEYCODE_DPAD_DOWN:
down=true
break
case KeyEvent.KEYCODE_DPAD_LEFT:
left=true
break
case KeyEvent.KEYCODE_DPAD_RIGHT:
right=true
break
To Search:
File list (Check if you may need any files):
AndroidKeyEventMoveGif.doc