I am trying to implement a functionality when i press the VOLUME DOWN and POWER BUTTON simultaneously; i must be able to run a method code inside my Activity.
public boolean onKeyUp(int keyCode, KeyEvent event)
{
}
From my initial search; it seems that only one such key press event is acknowledged at a time in Android usng the onKeyUp method. Is it true?
In my Android phone, on simultaneously pressing POWER BUTTON as well as MENU BUTTON i am able to capture a screen shot.
Does this feature not acknowledge simultaneous key presses?
public boolean onKeyUp(int keyCode, KeyEvent event)
{
}
From my initial search; it seems that only one such key press event is acknowledged at a time in Android usng the onKeyUp method. Is it true?
In my Android phone, on simultaneously pressing POWER BUTTON as well as MENU BUTTON i am able to capture a screen shot.
Does this feature not acknowledge simultaneous key presses?