alwaysbusy Expert Licensed User Longtime User Nov 30, 2017 #1 I was wondering if it is possible to write one library that works both for B4A and B4J? For the moment I always create two versions: B4A: Referenced libraries: - B4AShared.jar - Core.jar Compile: - Java 1.7 B4J: Referenced libraries: - jCore.jar Compile: - Java 1.8
I was wondering if it is possible to write one library that works both for B4A and B4J? For the moment I always create two versions: B4A: Referenced libraries: - B4AShared.jar - Core.jar Compile: - Java 1.7 B4J: Referenced libraries: - jCore.jar Compile: - Java 1.8
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2017 #2 Yes. Any library that doesn't reference an exclusive API can be shared. Use Java 7 to compile it.
alwaysbusy Expert Licensed User Longtime User Nov 30, 2017 #3 And in that case it doesn't matter if I pick Core or jCore or do I include both while developing?
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2017 #4 It doesn't matter. The relevant BA methods signatures are exactly the same.