F F.Campanella Member Licensed User Longtime User Sep 23, 2016 #1 Hi, I've a 3 part library used for read with a scanner RFID data. Its sdk is an aar library. If I put the classes.jar in the libs folder I'll be able to use his functions through java inline code? Thanks for hour help!! Fabio.
Hi, I've a 3 part library used for read with a scanner RFID data. Its sdk is an aar library. If I put the classes.jar in the libs folder I'll be able to use his functions through java inline code? Thanks for hour help!! Fabio.
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2016 #2 You don't need to extract the aar library. You can use #AdditionalJar: YourLibrary.aar (assuming that you are using B4A v6+). Upvote 0
You don't need to extract the aar library. You can use #AdditionalJar: YourLibrary.aar (assuming that you are using B4A v6+).
F F.Campanella Member Licensed User Longtime User Sep 25, 2016 #3 Erel said: You don't need to extract the aar library. You can use #AdditionalJar: YourLibrary.aar (assuming that you are using B4A v6+). Click to expand... Yes, I have latest version of B4A (6.30) Sorry, I take this opportunity to ask you how do I reference a class contained in the library: If I have a class that is called RFIDResult how do I reference this class using the java inline code (and use his properties and methods)? Thanks for you time!!! Fabio Upvote 0
Erel said: You don't need to extract the aar library. You can use #AdditionalJar: YourLibrary.aar (assuming that you are using B4A v6+). Click to expand... Yes, I have latest version of B4A (6.30) Sorry, I take this opportunity to ask you how do I reference a class contained in the library: If I have a class that is called RFIDResult how do I reference this class using the java inline code (and use his properties and methods)? Thanks for you time!!! Fabio
somed3v3loper Well-Known Member Licensed User Longtime User Sep 25, 2016 #4 As general as your question B4X: #if java import some.package.someclass; someclass someclass; public void bamethod(){ someclass.somemethod(); } #End if Upvote 0
As general as your question B4X: #if java import some.package.someclass; someclass someclass; public void bamethod(){ someclass.somemethod(); } #End if
F F.Campanella Member Licensed User Longtime User Sep 27, 2016 #5 Thanks for your reply!!! I will try it!! Regards!!! Upvote 0