Samsung backspaceKey duplicated text

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Samsung backspaceKey duplicated text

Post by trags3 » Mon Aug 18, 2014 1:30 pm

I have an app that has a lot of data entry fields. It seems to work great on the on everything I have tried except the Samsung Galaxy Note 3.
The problem is exhibited when you type a few characters into a field and realize that you misspelled something. You hit the delete (backspaceKey) to delete the last character you typed and instead of deleting anything everything you have typed into the field is pasted into the field after the character you were trying to delete.
I am working on a workaround but I just wondered is there something I missed that might be easier than putting code in every text entry field of the app that would fix this unwanted behavior?
My first try at a fix was to handle the backspaceKey message but that message gets sent after the deed is done so I am going to save the text input in each field as it is entered and then delete it when I get the backspaceKey message.
Everything else in the app works great on the Samsung,Kindle, LG G2, iPhone 4s, iPhone 5 and ipad simulator.

Incidentally I have tried to input text using the voice to text keyboard feature. On my LG G2 this duplicates words if you say more than one word. For instance I can say "hello" and it puts "hello" into the field.
If I say "hello world" it puts "helloworld helloworld" into the text. The voice input completely hoses the whole screen on an iPhone 4s. Voice input isn't a problem for me I just thought it might provide a clue to the bizzare keyboard input of the Samsung Note.
I am using LC 6.6.2 on a Macbook Pro. and building for Android version 2.3.3 minimum.

Tom

Post Reply