wonder Expert Licensed User Longtime User Apr 26, 2016 #1 Hi guys! Is it possible to create a library which contains both Java and B4A ("Compile To Library") code, without using inline Java?
Hi guys! Is it possible to create a library which contains both Java and B4A ("Compile To Library") code, without using inline Java?
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2016 #2 You can create a jar file from the java code and then use #AdditionalJar to add it to the project. The library XML will include a "dependson" entry to this jar. Upvote 0
You can create a jar file from the java code and then use #AdditionalJar to add it to the project. The library XML will include a "dependson" entry to this jar.
wonder Expert Licensed User Longtime User Apr 26, 2016 #3 So if I understood correctly, I should first create my Java based library and then code the B4A part using an #AdditionalJar preprocessor directive. Thanks a lot, Erel! Upvote 0
So if I understood correctly, I should first create my Java based library and then code the B4A part using an #AdditionalJar preprocessor directive. Thanks a lot, Erel!
somed3v3loper Well-Known Member Licensed User Longtime User Apr 27, 2016 #4 Can the opposite happen ? Compile B4A code as a library and then use @DependsOn(values={"balibraryname"}) ? Just a curious question Upvote 0
Can the opposite happen ? Compile B4A code as a library and then use @DependsOn(values={"balibraryname"}) ? Just a curious question
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2016 #5 somed3v3loper said: Can the opposite happen ? Compile B4A code as a library and then use @DependsOn(values={"balibraryname"}) ? Just a curious question Click to expand... No. You need to add it to the project. Upvote 0
somed3v3loper said: Can the opposite happen ? Compile B4A code as a library and then use @DependsOn(values={"balibraryname"}) ? Just a curious question Click to expand... No. You need to add it to the project.