Hello all,
it's known that the best place to put startup code to check parameters and data for app initialization (like creation tables on new databases, environment variables and so on) in Android/B4A is in the start service, as well as the right choice to put global variables is in the "Process Global" in Main module . But using B4XPages there is no start service and isn't recommended to put much code in Main module. Then, where should I put database and other initialization code or global variables if I'm using B4XPages in order to get the most compatible code as possible between platforms ?
Thanks!
it's known that the best place to put startup code to check parameters and data for app initialization (like creation tables on new databases, environment variables and so on) in Android/B4A is in the start service, as well as the right choice to put global variables is in the "Process Global" in Main module . But using B4XPages there is no start service and isn't recommended to put much code in Main module. Then, where should I put database and other initialization code or global variables if I'm using B4XPages in order to get the most compatible code as possible between platforms ?
Thanks!