Hello everybody
I'm converting a big app with many activities to B4XPages
I'm wondering if all global declarations e.g.
List Type classes that I now have in the starter service is better to move them,
if yes, in B4XMainPage? or other location.
Starter service must be kept you can use eg. to manage ScreenOff ScreenOn and more?
Without some knowledge of your program it is difficult to give a precise answer.
I'm wondering if all global declarations e.g.
List Type classes that I now have in the starter service is better to move them,
if yes, in B4XMainPage? or other location.
B4XPages can work as cross-platform. You can indicate in your code which code should be applied per OS. For B4A with the #IF B4A statement or leave it if you code is only used for B4A. However the advice from Erel to use B4J to develop the code with as much B4X elements en solution to make it simple cross-platform.