Page 1 of 1
Android Keyboard
Posted: Fri Jun 20, 2014 3:22 pm
by kosmo
I have 2 text fields in my app. When I click one of the text fields, the keyboard pops up. When I click the other field, the keyboard disappears. Is there a way to force the keyboard to show up when I enter a field?
This above behavior happens when I click in either of the text fields.
Thanks,
Kosmo
Re: Android Keyboard
Posted: Fri Jun 20, 2014 7:54 pm
by kosmo
I am still battling this issue. I even created a new stack/card and added 2 fields on the card...
This is what I am getting:
Test 1...
a) Click on field A - Android Keyboard works
b) Click on field B - Android Keyboard doesn't work
Test 2...
a) Click on field A - Android Keyboard works
b) Click on card
c) Click on field B - Android Keyboard works
Thanks,
Kosmo
Re: Android Keyboard
Posted: Fri Jun 20, 2014 8:25 pm
by jacque
LC will show the keyboard when an editable field receives focus, usually on openField, and remove it when the field loses focus, usually on closeField or exitField. Maybe one of those messages is getting trapped somewhere. If your fields have scripts, make sure to pass any of those messages if you are using them.
If that doesn't work, you could try adding "focus on nothing" to both a closefield and exitfield handler in your field scripts.
Re: Android Keyboard
Posted: Fri Jun 20, 2014 9:06 pm
by kosmo
Jacque,
Thanks for the response. I tried focusing on nothing and this still didn't work. What I did find that works is putting a wait for .25 seconds on the open field and this worked.
Not sure what the reason...but the delay somehow allows the keyboard to popup.
on openfield
wait .25 second
end openfield