Android Question IME library (soft keyboard) - I can not show SWkeyboard when I am using external keyboard

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends,

please can somebody help me?

When I am using Erels library :
http://www.b4x.com/android/forum/threads/handle-the-soft-keyboard-with-the-ime-library.14832/
everything is OK, only if I have not connected external keyboard.

If I have connected external keyboard to my Device and If I push the button "Show keyboard", nothing is happen.

Please I know that this is some function of android device, can I disable it? I want have active software and external keyboard together... my device hav not setting for this function, I want solve it with B4A.

It is possible, please?
Thank you ver much,
p4ppc
 

petr4ppc

Well-Known Member
Licensed User
Longtime User
Thank you very much Erel.

I want use external keyboard and sw keyboard together.
But when I have connected external keyboard, then sw keyboard is disabled and I cant open this sw keyboard.
Really it is not possible to enable sw keyboard programmatically, please?

Thank you very much
Petr
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear B4A friends,

I want use external keyboard and sw keyboard together.

I spent on some solution a few days, but nothing (I have tryed many sw keyboards, I have read B4A forum and nothing)

please, do you know how to apply in B4A this functions?
http://developer.android.com/refere...MethodService.html#onEvaluateInputViewShown()
and
http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html

I need control InputMethodService method onEvaluateInputViewShown() to evaluate to true even when there is a hard keyboard connected to my android device

It is possible to do with B4A, please?
Thank you very much
p4PPC
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
Erel, thank you for your answer.

I want write something, what allow sw keyboard when i am using hw keyboard...
Please what is good direction to solve it?

thank you
p4ppc
 
Upvote 0

Frank Cazabon

Member
Licensed User
Longtime User
I came across this same problem last week. I am using a bar code scanner connected via bluetooth to a tablet. My application needs to allow the user to scan bar codes and then enter text. On a particular tablet, once the scanner was connected, the soft keyboard never displayed because the tablet assumed it was an external keyboard being connected. I found a work around by installing an application called "External Keyboard Helper" which lets you switch off the external keyboard so that the soft keyboard displays where necessary and yet the input from the scanner works as well.
 
Upvote 0
Top