In B4a i need to raise event like:
What is example Java code to raise event like this?
???
EDIT:
I have found solution here
B4X:
Msg_onMessage(Success As String, example1 As String, example2 As String)
Java:
ba.raiseEventFromDifferentThread(getObject(), null, 0, eventName + "_onmessage", false, new Object[]{String.valueOf(...)});
EDIT:
I have found solution here
Java:
ba.raiseEventFromDifferentThread(getObject(), null, 0, eventName + "_onmessage", false, new Object[]{String.valueOf(str1), String.valueOf(str2), String.valueOf(str3)});
Last edited: