Dianne Hackborn, Unfortunate. I would recommend adding an api detailing what kind of hardware is available especially since Android runs on such deserve hardware. Should I file a bug report?
Thanks for the response though. David Shellabarger http://www.nightshadelabs.com http://twitter.com/godsmoon On Jul 14, 1:04 pm, Dianne Hackborn <hack...@android.com> wrote: > What you describe is all there is. > > > > > > On Wed, Jul 14, 2010 at 9:04 AM, GodsMoon <godsm...@gmail.com> wrote: > > I posted this on Stack Overflow and didn't get an answer. Anybody here > > have an answer? > > > "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/reference/android/content/res/Configuration.html... > > 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/reference/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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs > > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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