Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private nativeMe As JavaObject
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
MainForm.Show
' DO NOT USE as for B4A
' nativeMe.InitializeContext
' USE
nativeMe = Me
nativeMe.RunMethod("Test", Null)
End Sub
#If JAVA
public static void Test() {
System.out.println("Moin Moin");
}
#End If