0
votes

I have overridden onKeyDown/onkeyUp for one of my activities in order to capture the Volume keys press events and manipulate the sound of the application. However I've noticed that while a menu (be it options menu or context menu ) is activated then I can't no longer capture the volume keys press events. How could this be by passed ?

PS I guess in larger sense this could refer to all keys not only the volume ones

1

1 Answers

0
votes

I think you miss

return super.onOptionsItemSelected(item);