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

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

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 - Capture keystrokes of a soft keyboard

Capture keystrokes of a soft keyboard

Put your problem here if it does not fit any of the other categories.

Capture keystrokes of a soft keyboard

Postby marthijnh » Wed Mar 09, 2011 12:59 pm

Hi all,
I'm implementing a custom keyboard and I'm looking for a solution to capture onKeyDown and onKeyUp events of the soft keyboard.
Within my custom KeyboardView class I tried the following:

1.
I've created a new class that implements OnKeyboardActionListener. In the constructor of my custom KeyboardView I used the function setOnKeyboardActionListener(), but the functions in my listener are not triggered.

2.
I did override onKeyDown and onKeyUp of the View class, but that didn't work either.

Any solutions?
marthijnh
Freshman
Freshman
 
Posts: 5
Joined: Tue Feb 22, 2011 9:35 am

Top

Re: Capture keystrokes of a soft keyboard

Postby marthijnh » Wed Mar 09, 2011 1:06 pm

Hmm I think I already fixed it.. I added the OnKeyboardActionListener after the Keyboard was created instead of in the constructor :)
marthijnh
Freshman
Freshman
 
Posts: 5
Joined: Tue Feb 22, 2011 9:35 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 9 guests