Android Question No keyboard in android for input

Tim Chapman

Active Member
Licensed User
Longtime User
This code is a modified copy of DialogsDemo from the 2.92 package here:
https://www.b4x.com/android/forum/threads/dialogs-library.6776/
Note that I am using the 3.0 library version and B4A 6.80.
The code is attached.

When run this code, no keyboard is brought up on the screen for me to do input.
However it works with an external bluetooth keyboard.
To make sure that the tablet is not trying to use the bluetooth keyboard when it is not connected, I turned off the external keyboard and restarted the tablet. I also used the android screen keyboard in gmail on the tablet so I know the screen keyboard is working.
Also, the original unmodified DialogsDemo brings up the keyboard as it should. So something about my code is making this not bring up the screen keyboard.
The first button in this demo is the relevant button. None of the others are modified.
I have tried everything I can think of to make this work with no success. Any ideas?
Thanks again for assistance!
 

Attachments

  • MyDialogsTest.zip
    11.1 KB · Views: 282

Tim Chapman

Active Member
Licensed User
Longtime User
I found that they way to specify Id.InputType for a string input is Id.InputType = 1.
This was necessary after assigning it to input integers (Id.InputType = 2) so that I could input strings again. Hope that helps someone. I could not find how to designate string input except that the Id.InputType was not assigned. Assigning it to null or zero did not work.
 
Upvote 0
Top