WISH: Export to Eclipse

Cynikal

Member
Licensed User
Longtime User
Even though I have the Standard version, I think this would be good for the enterprise version to make it more...appealing.

Design in basic... ability to export to Eclipse for additional editing with some features that may not be available in B4A.
 

Inman

Well-Known Member
Licensed User
Longtime User
This is already possible. The Java code is available under the Objects folder.
However I don't recommend going this way. The other way will be simpler in most cases.
Create a Java library and use it from Basic4android.

I always wanted to ask about this. Ever since I released my first Android app, I have been getting some offers within my local area for developing Android apps. But I was unsure about taking them up as they are not looking forward to B4A code when I handover the project.

So B4A actually creates the original Java code one would get as if he works the same project in Eclipse?
 

agraham

Expert
Licensed User
Longtime User
So B4A actually creates the original Java code one would get as if he works the same project in Eclipse?
Sort of!

Firstly bear in mind that the major part of the source code, Core.jar and the other libraries, are not available as source so it is only the translated Basic4android module code that is available as Java source code.

Secondly there is structure in the generated Java code to support the way that Basic4android deals with objects and libraries. This is where the ease of use of Basic4android over raw Java comes from, but as it is automatically generated it doesn't look much like the code that you or I would write.

I've tested for Erel since he started writing Basic4android, running stuff I've written in Java in Eclipse before the full IDE was available and I would not recommend it as a viable way of supporting an application.
 
Top