tags:

views:

319

answers:

1

I'm told by some users that my Android app is not usable because their device does not have a MENU key.

What's the best way to deal with these devices? Is it possible to detect if the device lack a MENU key and show a menu button only in this case?

And most importantly, how do you test this in the simulator?

Thanks.

Edit: Apparently the problem was that the users didn't know that the Menu key was called the Menu key.

Edit: Also, some unofficial Android devices like the Eken and aPad don't have a physical menu key.

+1  A: 

I'm quite surprised that there are devices without a Menu key out there, as stated in my comment.

As this recent question mentions, there isn't really any API provision for detecting this:
http://stackoverflow.com/questions/2957168/programatically-detect-if-an-android-phone-have-hard-keys-or-soft-keys

It would also seem that there is no "menu key" hardware option that you can emulate using an AVD:
http://developer.android.com/guide/developing/tools/avd.html#hardwareopts

Christopher
I think @Christopher is right - I think every Android phone has a Menu button, but it might not say "Menu" on it.
Dave Webb
The Compatibility Definition Document (CDD) states that all Android devices must have a MENU key or an equialent gesture, touch panel, etc. http://source.android.com/compatibility/index.html
CommonsWare
Same goes for Home and Back. Hence devices like the X10 which have those buttons and only those buttons below the screen :)
Christopher