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 super.onKeyDown(keyCode, event);
please help me if i have to make any change..