Android: How can I set a listener to the MenuButton?

Posted by Mannaz on Stack Overflow See other posts from Stack Overflow or by Mannaz
Published on 2010-03-19T15:19:45Z Indexed on 2010/03/19 15:21 UTC
Read the original article Hit count: 187

Filed under:
|
|

I want do do a custom action when pressing on the Menu button on the phone.

Is it possible to set an onClickListener (or similar) on the button and if how?

onCreateOptionsMenu is only called the first time the button is pressed - I already tried this.

© Stack Overflow or respective owner

Related posts about android

Related posts about java