Java Question Share a B4A library with java programs

rbirago

Active Member
Licensed User
Longtime User
I've seen a lot of questions about java libs wrap to B4A...but I have the opposite question: I've created a lot of custom functions in a B4A lib and now I'd like to use these functions in java programs. Is it possible? If so, what about types compatibility (Lists, Maps, etc.)?

thank you

Roberto
 

DonManfred

Expert
Licensed User
Longtime User
The java code b4a creates is designed to work in a B4X Process.
Most probably you are not able to use it in Java.
 

rbirago

Active Member
Licensed User
Longtime User
I understand...so, if I want to share these functions perhaps I have to rewrite them in java and then wrap them to B4A?
...and what about the compatibilities of types between java and B4A? where can I find a table of something similar to match the various types?
 

rbirago

Active Member
Licensed User
Longtime User
So if I want to create a library shared between Java and B4A I have to create it in Java and then build a wrapper to use it also in B4A? is this the way?
 
Top