A few months ago I was working on a USB library for FTDI based hardware. I am thinking about getting back to it finally. But first a few questions.
I have the .jar file for an existing Java library that works in Android. I assumed in order to convert it that I needed to add that .jar file to my Eclipse project then create new methods in a new Java file to call the methods in that original .jar file.
I was however looking at WarWounds YouTubePlayer and if I understand it he wrapped the original .jar file with a class in a new Java file. Then used an Intent to call it.
So based on this I wonder which of these methods is correct? Or is it like real life and it depends on many factors?
Erel: I like your tutorials on this subject but I cant seem to find one that mentions what to do when you already have the .jar file and just want to make it work in B4A.
I have the .jar file for an existing Java library that works in Android. I assumed in order to convert it that I needed to add that .jar file to my Eclipse project then create new methods in a new Java file to call the methods in that original .jar file.
I was however looking at WarWounds YouTubePlayer and if I understand it he wrapped the original .jar file with a class in a new Java file. Then used an Intent to call it.
So based on this I wonder which of these methods is correct? Or is it like real life and it depends on many factors?
Erel: I like your tutorials on this subject but I cant seem to find one that mentions what to do when you already have the .jar file and just want to make it work in B4A.