Hi guys,
I'm trying to develop a keyboard. This code nicely send letter "A" to
the application, as it is associated with the code "29", as from here
KeyEvent | Android Developers

Code:

int code = 29; // Key code constant: 'A' key. Constant Value: 29
(0x0000001d)
KeyEvent k = new KeyEvent(KeyEvent.ACTION_UP, code);

InputConnection ic = getCurrentInputConnection();
ic.sendKeyEvent(k);

But what should I do, if I want to use unicode characters, such as in
here
List of Unicode characters - Wikipedia, the free encyclopedia


Any ideas? Thanks! :)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to