kepler Active Member Licensed User Longtime User Mar 6, 2015 #1 Hi, If we have already a set of Java files with some useful routines, how do we include the classes in a B4A library? Kind regards, Kepler
Hi, If we have already a set of Java files with some useful routines, how do we include the classes in a B4A library? Kind regards, Kepler
stevel05 Expert Licensed User Longtime User Mar 6, 2015 #2 You'll need to copy the source to an #if java block, see this thread: https://www.b4x.com/android/forum/threads/inline-java-code.50141/ for a start. Upvote 0
You'll need to copy the source to an #if java block, see this thread: https://www.b4x.com/android/forum/threads/inline-java-code.50141/ for a start.
kepler Active Member Licensed User Longtime User Mar 8, 2015 #3 Hi, According to the article you kindly provided, that doesn't work in my current version of B4A - 3.82 Any ideas? Kind regards, kepler Upvote 0
Hi, According to the article you kindly provided, that doesn't work in my current version of B4A - 3.82 Any ideas? Kind regards, kepler
stevel05 Expert Licensed User Longtime User Mar 8, 2015 #4 Then you'll need to write a library in java. Search the forum for "creating java library", there are quite a few threads about it Upvote 0
Then you'll need to write a library in java. Search the forum for "creating java library", there are quite a few threads about it
DonManfred Expert Licensed User Longtime User Mar 8, 2015 #5 kepler said: According to the article you kindly provided, that doesn't work in my current version of B4A - 3.82 Click to expand... you need to update to 4.3 i think elswhere you can write a wrapper in java to be used in b4a. Or you can hire someone who do this for you. What java files you already have you want to use? Upvote 0
kepler said: According to the article you kindly provided, that doesn't work in my current version of B4A - 3.82 Click to expand... you need to update to 4.3 i think elswhere you can write a wrapper in java to be used in b4a. Or you can hire someone who do this for you. What java files you already have you want to use?
kepler Active Member Licensed User Longtime User Mar 8, 2015 #6 Hi, I have 5 Java files. Some have mathematical procedures, but others code like this: public class CTrans { etc... I don't know how to include this in the Eclipse Editor... Regards, Kepler Upvote 0
Hi, I have 5 Java files. Some have mathematical procedures, but others code like this: public class CTrans { etc... I don't know how to include this in the Eclipse Editor... Regards, Kepler