You could detect if there is a keyboard present, and if not show softkeyboard for the needed view/item
sample code:
if (getResources().getConfiguration().keyboard == 0)
{
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(** view/item **, InputMethodManager.SHOW_IMPLICIT);
}