T Tim Chapman Active Member Licensed User Longtime User Apr 16, 2017 #1 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 MyDialogsTest.zip 11.1 KB · Views: 309
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!
T Tim Chapman Active Member Licensed User Longtime User Apr 16, 2017 #2 I kept tearing it apart and found the problem is the Id.InputType = 0 statement. 0 doesn't work here. Upvote 0
I kept tearing it apart and found the problem is the Id.InputType = 0 statement. 0 doesn't work here.
T Tim Chapman Active Member Licensed User Longtime User Apr 16, 2017 #3 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
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.