Android Question Allow virtual keyboard when I connect BAR code scanner

petr4ppc

Well-Known Member
Licensed User
Dear friends,

I have this situation.
If I connect Barcode scanner to my device (Android 4.4.2) then I cant use on screen keyboard. This virtual keyboard is not showing if I touch text fields.

Please it is possible to allow this virtual keyboard?

I found that it is possible to do it via InputMethodManager:
B4X:
InputMethodManager imm = (InputMethodManager)getContext().getSystemService(
                                              Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);

or is here some other way?

(I cant set it in phone settings, I must find the solution programatically.)

Best regards
p4ppc
 

vecino

Well-Known Member
Licensed User
Hello, I see that this thread is very old, but I have encountered this same problem and I would like to ask if someone has found a solution to the problem.
Thank you.
 
Upvote 0
Top