PlayN - Virtual Keyboard on iOS and Android

Is there a way to programmatically launch a virtual keyboard on iOS and Android in PlayN? Something like Gdx.input.setOnscreenKeyboardVisible(true); in libgdx.

The best I could find was the keyboard interface , but from what I can tell, it can only get a whole line from the user, but I need character feedback (keypress).

+6
source share
1 answer

As for Android, I think you should look at this answer. It does not give a complete answer to this question, but it really suits you.

To make a long story short, you must have an EditText or some other control that can accept keyboard input, request focus on it and in the onFocus call to the setSoftInputMethod handler.

+1
source

Source: https://habr.com/ru/post/947501/