I've developed an easy application to full control de phone with a PC keyboard via BT wireless technology. I can map the whole phone keypad with a key on the PC.
Then, in the phone there is a Symbian application that acts as a "driver" that receives the data (through BT) from the keyboard, and depending on what key receives, it generates an event with Symbian function
TInt SendEventToWindowGroup(TInt aIdentifier, const TWsEvent& aEvent);
to the current window that has the focus.
I can navigate through the phone pressing keys on the PC, and I can control any kind of phone application. I can also control my MIDlets (notepad or sms I did), but now I am developing a MIDlet draw application, with low-level api, using
public void keyPressed(int keyCode)
Then, when I run the application the remote keyboard only can control the High-level components of the MIDlet, it is, the LSK and RSK and navigate across the options displayed, but I can't control the drawing cursor in the midlet of the canvas display. It seems that the Symbian Event does not arrives at Canvas class.
Do you know how the low-level events are handled? Is there a way to simulate this events? Any idea about how I should generate this events in order to the KeyPressed(keycode) function detects them?
Thanks for any idea!