Android Question Advice on language / IDE to use for Android and Linux.

vecino

Well-Known Member
Licensed User
Hello, since 2012 I use B4A for Android applications.
For Linux I use Lazarus.
For Windows, alternate between Delphi and Lazarus, but this is irrelevant.

Now I have a new application project that should work on Android and Linux.
I wish B4A could be used to create applications for Linux, but that's not the case, so I ask advice on the tool to use that is most comfortable and easy for the application to work on both Android and Linux.

B4J can it serve? Is it very different from B4A?
Thank you all.
 

MarkusR

Well-Known Member
Licensed User
u can share classes for a b4a & b4j project to minimize effort. see xui or b4x.

or you make a web page based app if possible, if u not need hardware access.

only Delphi enterprise support Windows,Android,ios,mac,Linux with fire monkey ui and code once.
 

vecino

Well-Known Member
Licensed User
So, B4J, do you create executables for linux?
What should I take into account to work with the minimum changes between B4A and B4J?

Yes, I have used Delphi since 1998, but the creation of software for Android is much better for me with B4A than with Delphi.
For Windows, the best is Delphi. But in this project I'm not going to need it.
 

MarkusR

Well-Known Member
Licensed User
new application project
i don't know what this project should do.
most of librarys that came with b4x and b4j are identical.
if u put your business logic into classes they can be hardware neutral and used in both projects.
if u drag & drop files into modules view there came an pop up where you can say its a link.

there are some crossplatform videos at "B4X Video Tutorials"
 

inakigarm

Well-Known Member
Licensed User
Hello, since 2012 I use B4A for Android applications.
For Linux I use Lazarus.
For Windows, alternate between Delphi and Lazarus, but this is irrelevant.

Now I have a new application project that should work on Android and Linux.
I wish B4A could be used to create applications for Linux, but that's not the case, so I ask advice on the tool to use that is most comfortable and easy for the application to work on both Android and Linux.

B4J can it serve? Is it very different from B4A?
Thank you all.
Yes, the programming code are near 100% compatible; the differences came from the app life cycle, layouts and views but even that, there's a library (xui views https://www.b4x.com/android/forum/threads/b4x-xui-cross-platform-native-ui-library.84359/) that can be used in all B4X family (buttons,labels, panels, etc..)
Programming in B4J is easier than in B4A, basically because of the major complexity of apps life cycle in Android
 
Last edited:

vecino

Well-Known Member
Licensed User
Many thanks friends.
I think then that I will use B4J for Linux applications.
The project is basic, warehouse management and database.
Thank you :)
 
Top