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 - Use TouchScreen to call a KeyEvent

Use TouchScreen to call a KeyEvent

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

Use TouchScreen to call a KeyEvent

Postby willis127 » Thu Dec 03, 2009 4:38 am

Is there a way to call another KeyEvent based on a touch of the screen

FOR EXAMPLE

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. onTouch(MotionEvent event){
  3.  
  4. KeyEvent pressed = new KeyEvent(0, KeyEvent.KEYCODE_DPAD_CENTER);
  5.  
  6. return pressed;
  7.  
  8. }
  9.  
  10.  
Parsed in 0.016 seconds, using GeSHi 1.0.8.4


So Is that possible ? or am I WAY off base with that one. Just wondering
willis127
Freshman
Freshman
 
Posts: 9
Joined: Wed Nov 11, 2009 8:03 pm

Top

Re: Use TouchScreen to call a KeyEvent

Postby saamyandroid » Mon Dec 07, 2009 12:54 pm

Ya its working.

u can proceed in this way
saamyandroid
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Sep 09, 2009 8:17 pm
Location: INDIA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 23 guests