Hi, All
I'm trying for the first time to port the B4J app to B4A.
Initially it was developing with elements of B4Xpages:
1) app has several pages in B4J, some are separate windows, some are topmost utility windows.
2) all pages are declared in the Main module, as Process_Globals vars, that are inited in AppStart sub with adding to PagesManager.AddPage
3) This way allowed to use in other modules such calls like:
But now when i try to make Android version - pages instances cannot be Process_Globals vars of the Main module.
How to be for cross-platforming ?
I'm trying for the first time to port the B4J app to B4A.
Initially it was developing with elements of B4Xpages:
1) app has several pages in B4J, some are separate windows, some are topmost utility windows.
2) all pages are declared in the Main module, as Process_Globals vars, that are inited in AppStart sub with adding to PagesManager.AddPage
3) This way allowed to use in other modules such calls like:
B4X:
Main.usbPage.timPorts.Enabled = True 'timer control
But now when i try to make Android version - pages instances cannot be Process_Globals vars of the Main module.
How to be for cross-platforming ?