Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Android's InputMethodService - how to get unicode characters

Android's InputMethodService - how to get unicode characters

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Android's InputMethodService - how to get unicode characters

Postby BRT2010 » Wed Aug 31, 2011 1:59 pm

I'm trying to make a keyboard...

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);

This code nicely send letter "A" to the application, as it is associated with the code "29", as from here http://developer.android.com/reference/ ... Event.html

But what should I do, if I want to use unicode characters, such as in here

http://en.wikipedia.org/wiki/List_of_Unicode_characters

Any ideas? Thanks!

Thanks!
BRT2010
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Apr 13, 2010 2:10 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests