04-30-2009 07:40 AM
Hmm.. yes, the approach is ok, but I cannot send the SEND (green) key.
Anyone had any experience with
I was able to find some information about it:dispatchKeyEvent
public boolean dispatchKeyEvent(int event,Description copied from class: Screen Dispatches a key event to the currently focussed field. Overrides: dispatchKeyEvent in class Screen Since: JDE 4.0.2
char cSend = Keypad.map(Keypad.KEY_SEND);
int iSend = Keypad.KEY_SEND; // 17
int iSend2 = 0x110000 // 17 * 10000
deEvent.KEY_DOWN, cSend, iSend, aTime);
deEvent.KEY_DOWN, cSend, iSend2, aTime);
The character code is '\u0000' (and that's what I expected) but both calls don't do anything.
This gives me headaches
Also, how will I be able to 'simulate' - actually forward - the trackball movement ?
04-30-2009 10:04 AM
Still no luck with the SEND key.
Well, ok, I could live with that, but if the navigation also fails then I am stuck
This is the code I am trying to put to use (o why did they protect the key* methods ) :
lEvent.THUMB_ROLL_DOWN, '\u0000', 0, aTime);
One would think that only first and last parameter would be enough for the TrackWheel ...
But, seriously, does anyone have any more information about the
Can I use it for (almost) full 'interscreen communication' or not ?