How can I capture a long press of the device menu button in my application?
I thought of an intent filter, but there's only an action called android.intent.action.SEARCH_LONG_PRESS, but nothing for the MENU button.

I found that long press of the menu button actually does different things on different devices, i.e. on Nexus One it will show the soft keyboard, while on Samsung Galaxy S it will pop up the search widget.
Generally, I want to suppress this behaviour in my app.

(I already looked on StackOverflow.com for some hints but only found unanswered posts.)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to