Roadmap Question: Any possibility for a B4js?

I am exploring returning to this product after several years.

The XUI stuff seems to be very powerful - legitimately improving code reuse across Android + iOS.

The Desktop / Java stuff, though, isn't an option for us. JavaFX is definitely not an option.

Is there any chance down the road there would be a B4js - using all Javascript and some other frameworks, along with XUI, so that there can be a Javascript based web app solution that can share code with B4a and B4i?

Is there also any chance down the road that you actually build a b4x - that, with a single product, plus XUI, perhaps a new XUtils, a developer can generate Android, iOS, and javascript web apps - from the same project/source?
 

LWGShane

Well-Known Member
Licensed User
Longtime User
The Desktop / Java stuff, though, isn't an option for us. JavaFX is definitely not an option.
While I still code server apps with Java thanks to OpenJDK, I fully agree about JavaFX.

Is there any chance down the road there would be a B4js - using all Javascript and some other frameworks, along with XUI, so that there can be a Javascript based web app solution that can share code with B4a and B4i?
You could always use "BANano" from @alwaysbusy to create pure Javascript apps.
 
I have seen the BANano references. I guess I should look further there.

Is XUI plus BANano a legit path to code reuse across web and native mobile?
 

alwaysbusy

Expert
Licensed User
Longtime User
use "BANano"
Yes, BANano transpiles B4J code to html/javascript/css and can be used to make Websites/Webapps and even PWAs. There are several wraps of CSS frameworks on the forum and if they are using B4J custom views, the abstract designer can be used.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The Desktop / Java stuff, though, isn't an option for us. JavaFX is definitely not an option.
Why?
With B4J Packager you can create a package for your app that will include everything needed. The user will never "see" that it is based on Java.
The package include a standalone Java runtime that is only used by your app.
There are also no licensing issues.
 
Why?
With B4J Packager you can create a package for your app that will include everything needed. The user will never "see" that it is based on Java.
The package include a standalone Java runtime that is only used by your app.
There are also no licensing issues.

Hello Erel - can you explain this more? Does the packager convert it to where Java and JavaFX are not required?
 
Top