William
William

Reputation: 1527

Circumvent disabling android keyboard when a physical keyboard is plugged in

Using a card reader for a POS system that will be hooked into an android device. It seems to disable the android software keyboard while it is plugged in.

Is there a way to define whether or not to disable/enable the android keyboard per control or a way to circumvent the android soft keyboard being disabled?

Thanks,

W

Upvotes: 0

Views: 730

Answers (1)

CQM
CQM

Reputation: 44210

((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE))
.showSoftInput(editText, 0);

the above forces the soft keyboard to be visible. good luck

Upvotes: 1

Related Questions