Android Question XUI App

luke2012

Well-Known Member
Licensed User
Longtime User
Hi All,
I'm new to XUI (@Erel cross platform). I wish to start the development of a standalone XUI (simple) App.

My question about it is:

1) Is there any generale guideline to start an XUI app from scratch ?
2) Is there a way using XUI to minimize the platform specific code for a simple standalone app?

Thank you in advance for your help :)
Luca.
 

MarkusR

Well-Known Member
Licensed User
Longtime User
there are 2 learning videos about XUI
https://www.b4x.com/etp.html

simple explained xui is a replacement for accessing the native ui at different supported platforms.
if u see a library with B4X then it support more than one platform.

if you have more than one project you can share your class files.

xui or multi platform development have pros and cons, you will see.
 
Last edited:
Upvote 0

klaus

Expert
Licensed User
Longtime User
You may have a look at the B4X XUI Booklet.

Be aware that you need one project for each platform.
Use as much as possible B4X Views which are wrappers above the original views.
You need the XUI libraries which are shiped with the products.
Use XUI Views, these are in the XUI Views B4XLibrary.
As already said, you can share modules between the projects, one file in one project and the other projects point to this file.

One cons, you may loose some platform specific views.
iOS and Android users may expect different interface layouts.
 
Upvote 0
Top