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 - KeyEvent.KEYCODE_ENDCALL in Dialog

KeyEvent.KEYCODE_ENDCALL in Dialog

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

KeyEvent.KEYCODE_ENDCALL in Dialog

Postby andy@lg » Mon Apr 06, 2009 2:14 pm

Hi all,
Am trying to capture the KEYCODE_ENDCALL while i have a class that extends from an AlertDialog. Unforunately, I am able to capture the event of KEYCODE_BACK but KEYCODE_ENDCALL fails. the control doesnt return to onKeyDown(int keyCode, KeyEvent event) when KEYCODE_ENDCALL is pressed.

public class myclass extends AlertDialog
{
public boolean onKeyDown(int keyCode, KeyEvent event)
{
if ( KeyEvent.KEYCODE_ENDCALL == keyCode)
{
closeThisDialog(); // control doesnt reach here...
return true;
}
return super.onKeyDown(keyCode, event);
}

}

please help me if i have to make any change..
andy@lg
Freshman
Freshman
 
Posts: 8
Joined: Thu Feb 26, 2009 8:52 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 4 guests