B4X:
@Override
public void onSetKeyboard() {
ba.raiseEventFromUI(this, "ynexu_onsetkeyboard", null);
// ba.raiseEvent(this, "ynexu_onsetkeyboard",null);
// ba.raiseEventFromDifferentThread(this, null, 0, "ynexu_onsetkeyboard", false, null);
}
This is an Event from a SDK loaded by my app (.aar)
This event expect that I call back passing several buttons that it will control. This parts works fine.
However there is a problem, when the event fires seems that the SDK thread continues running not waiting for my callback with parameters, and that causes the process to fail.
I have tried more than one method and all failed, those in commented lines.
Is there any other way?