[Android General] lucki1000:
what happens if i remove the keyhandler method?

Edit:

I comment out this function at line 465 til 475 after the "}" and now I get this error:

ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:73.14: The type KeyHandler must implement the inherited abstract method DeviceKeyHandler.handleKeyEvent(KeyEvent)
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:477.74: scanCode cannot be resolved to a variable
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:478.96: scanCode cannot be resolved to a variable
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:478.105: Syntax error on token ";", { expected after this token
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:479.9: Syntax error on token(s), misplaced construct(s)
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:480.13: Void methods cannot return a value
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:490.13: Void methods cannot return a value
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:494.13: Void methods cannot return a value
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:505.44: scanCode cannot be resolved to a variable
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:507.35: scanCode cannot be resolved to a variable
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:515.37: scanCode cannot be resolved to a variable
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:518.5: Syntax error on token "}", delete this token
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:520.35: Syntax error on token "(", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:520.48: Syntax error on token ")", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:549.30: Syntax error on token "(", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:549.41: Syntax error on token ",", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:549.62: Syntax error on token ")", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:616.25: Syntax error on token "(", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:616.39: Syntax error on token ")", ; expected
ERROR: /media/.../AndroidSource/aosp/device/motorola/cedric/MotoActions/src/com/moto/actions/KeyHandler.java:623.18: Syntax error on token "toggleScreenState", AnnotationName expected after this token