Thanks Dianne.  I misunderstood what:
  getResources().getConfiguration().keyboard ==
Configuration.KEYBOARD_QWERTY
would do.  I thought it was talking about the layout configuration of
the keyboard QWERTY/AZERTY, not whether a keyboard was present or not.

Cheers.

On Apr 28, 3:12 am, Dianne Hackborn <[email protected]> wrote:
> getResources().getConfiguration() -- the Configuration object has all of
> this info.
>
> On Mon, Apr 27, 2009 at 4:51 AM, CraigsRace <[email protected]> wrote:
>
> > Hi all,
>
> > Does anyone know how to detect if the phone has a physical keyboard,
> > and not an on screen software keyboard?  The reason I need to do this
> > is because my app needs multiple keys pressed simultaneously, and this
> > isn't possible with an on screen keyboard.
>
> > Thanks!
> > Craig.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to