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
[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 - Keyboard Input

Keyboard Input

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

Keyboard Input

Postby cre813 » Sun Jan 27, 2008 6:37 am

All:

Let's say I have an Activity with a TextView.

I want to have the Activity capture keystrokes, possibly act upon them and then possibly echo them to the TextView.

The Activity cannot have an EditView - it'll steal the focus.

The only way I can see to do this is to use a brute force method of interpreting KeyEvents, etc in the onKeyDown/onKeyUp method pair.

Is there a more elegant/cleaner way to accomplish this?

Thanks for your help!
cre813
Freshman
Freshman
 
Posts: 8
Joined: Fri Dec 28, 2007 6:57 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 20 guests