Dim inline As JavaObject
inline = Me
#if DEBUG
inline.RunMethod("StartJava",Null)
#ELSE
inline.RunMethod("StartJava",Array(1))
#END IF
End Sub
Sub CallBack()
Log("in call back no param")
End Sub
Sub CallBack1(o As Object)
Log("in call back with param "&o)
End Sub
'Return true to allow the default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
Return True
End Sub
#if java
public static void StartJava() throws Exception{
_callback();
}
public static void StartJava(Object o) throws Exception {
_callback1(o);
}
#End If