I'm looking for a solution to add a java library to B4A, which comes from Android Studio. I have just the .Jar file and a .txt with the functions and structures definition.
How can i do the trick?
It is quite a big library.
You need to write a wrapper library (with java) for it. You can use SLC to compile it.
Alternatively you can call the methods using JavaObject. Example (same like @MarcoRome suggestion).
For both solutions you need to have some java knowledge.
Another alternative is to create a JobOffer in the JobOffer forum.
You should have no problem with Java then. It is very similar to C#, the only thing that really catches me out switching between the two is string equality testing as Java doesn't do operator overloads so == for a string is still an identity check. You need to use <string>.equals() for string comparisons.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.