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?
To detect common qwerty keyboard connected use this:
private boolean isKeyboardConnected() { return getResources().getConfiguration().keyboard == KEYBOARD_QWERTY; }