Android Question Using external Jar in B4A

rbw152

Member
Licensed User
Longtime User
Hi,

I have been provided a JAR file by our client which I would like to use in B4A as a library, however I understand I need to have an XML file with it so B4A can use it.
I have downloaded and installed Eclipse, however I have no idea how to go about creating an XML which can be used with the JAR.
The JAR is currently sitting in my downloads folder, untouched. I presume I don't need to write any code for it in Eclipse, I just need to create the XML which will ride along with it?

Is that right?

I'm a complete beginner regarding Eclipse so please forgive my ignorance.

Thanks in advance.
 

rbw152

Member
Licensed User
Longtime User
Hi, thanks for your responses.
I have been provided a third party JAR file by the manufacturer, so I have no source code available to me. All I have is the jar.
Will these options you've suggested work with this?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Will these options you've suggested work with this?
sure, if you have a documentation about the content of the jar. Or an java example app source code to see what is happening here.
Without documentation (or example app source) your only way is to decompile the jar and hopefully get an unobfuscated source....

You need java knowledge to write a wrapper library for it.
You need a more detailed knowledge of java if you want to use the #additionaljar and Javaobject way.

You also can hire someone to do the job for you. See Jobforum.
 
Upvote 0

rbw152

Member
Licensed User
Longtime User
Thanks very much for you reply. I may just do that as my knowledge and skill on all of this is pretty much zero.
Since I have no java knowledge I suspect I won't be able to do this on my own.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…