Android Question Convert app activity to b4xpage

Dey

Active Member
Licensed User
Longtime User
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?

thank you
 

MicroDrie

Well-Known Member
Licensed User
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.
A B4XPage is basically a class, so you can probably easily convert any class into a B4XPage.
Starter service must be kept you can use eg. to manage ScreenOff ScreenOn and more?
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.
 
Upvote 0
Top