I developed a class with a part written in line java.
During this part of the java code I call a sub B4A. But strangely she is not called. The logs continue correctly.
I can't understand why. I have used ba.raiseEvent many times without problems
SUB
B4X:
private Sub mysub_connected
'never enters here
If SubExists(mCallBack,mEvent & "_Ready") Then CallSubDelayed2(mCallBack,mEvent & "_Ready",True)
End Sub
Is it possible to use ba.raiseEvent to call a callback sub in the enclosing Activity,class,service or code module? It doesn't give an error, just no result either. In a class, I've tried: Sub DoMultiply nativeMe.RunMethod("Multiply", Array ("logresult",10)) End Sub Sub LogResult(Result...