ba.raiseevent

  1. jkhazraji

    B4J Question Exposing a Java code variable in a class to the main module

    Hi B4X community, I have the following as a part of a Java code in a class: #if Java { // //.... String msg ="blabla"; ba.raiseEvent(null,"get_msg",msg); //..... // } #end if Is the ba.raiseEvent written correctly? How would I expose 'msg' variable to the...
  2. walterf25

    Java Question Returning Value on BA.RaiseEvent method

    Hi All, i'm trying to wrap a library and on one of the listeners for one of the properties i have the need to return an integer value, I was wondering if this is possible with any of the BA.RaiseEvent methods, if not is there any other way to accomplish this. Below is the java portion of the...
Top