I have an old app made on b4a made the old way. (no b4xpages)
The main is pretty big.
Now I need to create a new branding of the app... it is the same app but I need to give it a specific name and appearence on the play store because the way it will be sold.
With b4xpages that is easy.
I want to keep making changes on the original app and then just compile the branded one to publish.
Is there any idea, easy way, since it is a huge amount of code.
the b4xpages pattern is that you do not write code on the main module.
so that you can easily create another project with its own main and reference the files from other projects and recompile it as a brand new app
this is not the case of this app since it is a big ugly chunk of code in the main, with many events. there are other helper modules but do not aliviate the main
I don't understand what you want to change for your 'branding'. In B4XPages the appearance is determined by the layout of each page - Main is only the underlying Activity. What is it you can make different in Main in a B4XPages app that you can't in your existing one?
I don't understand what you want to change for your 'branding'. In B4XPages the appearance is determined by the layout of each page - Main is only the underlying Activity. What is it you can make different in Main in a B4XPages app that you can't in your existing one?
- i already have an app on play store
- i need to create ANOTHER ONE based on the same app just change name version code
- the source app is big and not based on b4xpages, so everything mostly on main
- is there a easy way to do that?
I don't see the difference between using B4XPages or not in this case. The only thing that Android uses to differentiate apps is the package name in Build Configurations which you change the same way regardless of whether it is a B4XPages app or not.
It all is based in the package name. You could even replace your existing app with an "empty" app if you'd like to do so. So same package name = same app.