Android Question ime keyboard strange performance

saunwin

Active Member
Licensed User
Longtime User
Hi all,

I have an app that when a high score is reached, pops up the keyboard (usually on a tablet) and invites the user to input his name. All working well until it installs on an android TV box.

On the TV box I have a mini wireless keyboard/mouse pad, there are 2 issues with it.
1. The enter button inputs "q" and only using the mouse to "hit" the done button will terminate the keyboard entry.
2. Sometimes the done key doesn't work (with the mouse) and another keyboard appears but the done key is now a reversed arrow key (enter) key. which I then need to press (with the mouse).

I've tried both settings in the settings menu (ASOP keyboard and external input)

any ideas ?

B4X:
Sub EditText2_EnterPressed
    Panel1.Visible=False
    usertxt=EditText2.Text
    SetTextSize(Userlbl, usertxt)
    SaveSLRstring
End Sub
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The enter button inputs "q" and only using the mouse to "hit" the done button will terminate the keyboard entry.
It probably "clicks" on whichever button underneath the mouse cursor.

If EnterPressed is raised in the second case then you can call IME.HideKeyboard to hide it.
 
Upvote 0
Top