Source: svn/trunk
File: AndroidInputMethod.java
Method: getKeyCode(KeyEvent keyEvent):int private
Ln: case KeyEvent.KEYCODE_DPAD_RIGHT :
resultKeyCode = -4;
Consider when KEYCODE_DPAD_RIGHT and KEYCODE_BACK occurs.
in both cases, resultKeyCode = -4
and our J2ME app receives -4 in both cases, in canvas keyPressed
event.
How do we distinguish between the two there?
I do not understand the reason to change KEYCODE_DPAD_RIGHT to -4. Is
there any specific reason to make that change?
Earlier, it was equal to Canvas.RIGHT which seems correct. It is also
correct when we browse the changes here
http://code.google.com/p/microemu/source/detail?r=2434
I think there is some problem in source code from main trunk. Please
confirm.
regards,
vivek