Is there a Step-by-step manual of switching a B4A app to B4XPages? I read Klaus was making one, but cannot find it.
My App is big, will it be easy or will it take a lot of time?
1. Learn a bit about B4XPages in a separate project. Download a few examples and see that you understand them.
2. Create a new project and start by moving each activity code to a new B4XPages class.
The interaction between modules is different (much simpler).
In general, it will be easy. It largely depends on how many B4X (opposed to platform-specific) components you used in your original project.
I converted a large and complex sw in almost no time. It started as a Windows-only B4J sw and now I can run it on Android as well.
Most of the conversion time went to UI elements (adapting PC layouts to Android/tablet), but more than 80% of code (maybe more) remained untouched.
Take some time to study the B4xPages paradigm and everything will be easier than you can imagine.
Sure. I was replying about the time taken and the effort required.
IMHO, taking some time to port platform-specific code to B4X multi-platform is a very low price to pay in order to have our code aligned to the direction taken by the language itself, even if we don't plan to use more the one platform. It's kind of "standardization" (which buys you easier maintenance, among other things).
IMHO, taking some time to port platform-specific code to B4X multi-platform is a very low price to pay in order to have our code aligned to the direction taken by the language itself, even if we don't plan to use more the one platform. It's kind of "standardization" (which buys you easier maintenance, among other things).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.