I asked this on stackoverflow but I didn't get an answer: http://stackoverflow.com/questions/3241739/detecting-button-type-of-front-nav-keys Can anybody help me out?
"I would like to detect if the navigation keys of the front of the phone (Home,Menu,Back,Search) are hard-keys (ex. G1) or soft-keys (ex. Nexus One). This api http://d.android.com/referenc/android/content/res/Configuration.html#keyboard gets close but is related to the keyboard and not the front facing keys. KeyEvent (http://d.android.com/reference/android/view/KeyEvent.html) has a FLAG_VIRTUAL_HARD_KEY flag, I can only detect that after the key is pressed. I'd like to find out what type of buttons the user has without asking the user to press a key first. I would have expected such an api to be under http://d.android.com/referenc/android/hardware/package-summary.html but android.hardware has very little info about the actual hardware of the device." -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

