Wish Browser-based B4J issue on Android

Dave G

Active Member
Licensed User
Using BANano to create a B4J app that runs in browser. Works great, but discovered an issue with Android browser behavior. In the KeyDown event the KeyCode always return 229 vs the KeyCode of the entered key. This appears to be how things work on Android, something to do with Auto Suggest. In addition the event.PreventDefault method doesn't work in the KeyDown event, therefore can't suppress a character that would exceed desired length. So, I had to clean this all up in the Blur event by tossing non-numeric characters and shortening the .Text to the correct length.

Anyone run into this and find a better solution?

Thanks
 
Top