Is there a way to detect if the device I'm currently running on has a hardware keyboard installed?
How do I query device capabilities anyway?
[android-developers] Re: Detect Physical Keyboard Layout (ex: QWERTY vs QWERTZ)
The flags provided by getResources().getConfiguration().keyboard are a good way of checking which keyboard (if any) is available.