Wish B4A in a multilanguage environment

Alessandro71

Well-Known Member
Licensed User
Longtime User
I understand B4A is targeted primarily at the garage-developer, the lone wolf of app devs, but is it possible to compile modules to be used as libraries in other environments, like Android Studio or Cordova, to be shared in a multi-developer environment.
Even some limitations may be acceptable, for example, no UI elements, just code modules and/or services?
 
D

Deleted member 103

Guest
I understand B4A is targeted primarily at the garage-developer, the lone wolf of app devs, but is it possible to compile modules to be used as libraries in other environments, like Android Studio or Cordova, to be shared in a multi-developer environment.
Even some limitations may be acceptable, for example, no UI elements, just code modules and/or services?
That can not be!
Calling B4x-developers as garage-developers is an insult. :mad:
 

Sandman

Expert
Licensed User
Longtime User
I understand B4A is targeted primarily at the garage-developer
I must assume this is flamebait and you are deliberately trying to provoke. I can't see why you would want to do that though. I would like to direct your attention to a part of Anywhere Softwares homepage, and leave it at that:
1580330915328.png


As for the actual question, from the perspective of being multiple developers, I would recommend trying the search function. I'll leave the question regarding the ability to use code from B4A in other development environments to fellow forum members.
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
That wasn’t meant to be an insult.
apple and hp were both born in a garage, and I’m actually using b4a for developing connected-car apps, so I think “garage” is appropriate
 

sorex

Expert
Licensed User
Longtime User
not an insult indeed. most good things started in a garage or bedroom (and I'm not talking about kids ;) )

From bedrooms to billions is a good docu about this where people (teens) started creating games in the 80s of which some became quite rich.
A bit like these days indie game apps devs without big budgets compared to some big software houses who can spend millions and years on 1 title.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
With some work you can use the compiled jars in other Java apps.
Real example: https://github.com/AnywhereSoftware...rc/anywheresoftware/b4j/objects/CSSUtils.java
This is a class that is used by jXUI native library and it was generated from CSSUtils code module.

The problem is that B4X framework makes all kinds of assumptions that will no longer be true when you run the code in other environments. For example the B4X events system will be missing.
It can mostly be useful for utility classes such as CSSUtils.
 
Top