I\'m looking for a way of getting input from the software keyboard from a Android NativeActivity.
I found this, that provides some sample code of how to get the sof
another important thing to check is the key action (key up, key down, or mixed), otherwise you will be reacting to both keyup and keydown. Here's how you would check for key up:
if(AKeyEvent_getAction(event) == AKEY_EVENT_ACTION_UP) fprintf("key up!");