I'm implementing a custom keyboard and I'm looking for a solution to capture onKeyDown and onKeyUp events of the soft keyboard.
Within my custom KeyboardView class I tried the following:
I've created a new class that implements OnKeyboardActionListener. In the constructor of my custom KeyboardView I used the function setOnKeyboardActionListener(), but the functions in my listener are not triggered.
I did override onKeyDown and onKeyUp of the View class, but that didn't work either.