djpero Member Licensed User Longtime User Nov 22, 2012 #41 djpero said: I was followed complete video tutorial, and I have no errors but cannot locate the Jar file. The xml file is created properly? Click to expand... Ok, i figured, I extract the Jar file, but I having this error while importing lib into b4a. Attachments error.png 37.1 KB · Views: 987
djpero said: I was followed complete video tutorial, and I have no errors but cannot locate the Jar file. The xml file is created properly? Click to expand... Ok, i figured, I extract the Jar file, but I having this error while importing lib into b4a.
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2012 #42 Seems like there is more than one method with that name.
Stulish Active Member Licensed User Longtime User Dec 30, 2012 #43 Erel, I have just used your video tutorial, and it worked a dream, i now have an extra library for multiplying a number by two Now all i need to do is learn some java (seems similar to C so i will have to get reading) Thanks for a great tutorial Stu
Erel, I have just used your video tutorial, and it worked a dream, i now have an extra library for multiplying a number by two Now all i need to do is learn some java (seems similar to C so i will have to get reading) Thanks for a great tutorial Stu
H Henok New Member Licensed User Longtime User Jan 28, 2013 #44 Thanks Erel Very helpful, thanks Erel.:sign0098:
Jmu5667 Well-Known Member Licensed User Longtime User Jun 14, 2013 #45 No Jar File created Hi I followed the video tutorial, got an XML output but no Jar file ... Any ideas, no errors or warnings generated, also new to eclipse. Regards John.
No Jar File created Hi I followed the video tutorial, got an XML output but no Jar file ... Any ideas, no errors or warnings generated, also new to eclipse. Regards John.
agraham Expert Licensed User Longtime User Jun 14, 2013 #46 Look at the third line of the first post in this thread.
Peter Simpson Expert Licensed User Longtime User Jul 15, 2013 #47 Great video but With me it only makes the XML file and not the jar file. I've completely had it with eclipse, I'm un-installing it before my new laptop end up going through my opened window :BangHead: Btw, the video is absolutely brilliant Erel...
Great video but With me it only makes the XML file and not the jar file. I've completely had it with eclipse, I'm un-installing it before my new laptop end up going through my opened window :BangHead: Btw, the video is absolutely brilliant Erel...
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2013 #48 See the first post in this thread. You can also use SLC tool to compile the library.
S StarinschiAndrei Active Member Licensed User Longtime User Oct 1, 2013 #49 Hi Erel , the youtube tutorial is great , but how can i create the xml file from an existing jar file ? i cound't find any description about this. Can any body send me a description ? or advice me how can i proceed ! Thank you.
Hi Erel , the youtube tutorial is great , but how can i create the xml file from an existing jar file ? i cound't find any description about this. Can any body send me a description ? or advice me how can i proceed ! Thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2013 #50 You will need to create a wrapper library with the @DependsOn annotation. See SLC tool for an example.
You will need to create a wrapper library with the @DependsOn annotation. See SLC tool for an example.
S StarinschiAndrei Active Member Licensed User Longtime User Oct 2, 2013 #51 Hi Erel , I checked you mentioned tutorial but unfortunately i don't have any java files. To be easier for you to advice me i attached the jar file (this is an api for cutom termal printer). Thank you Attachments customandroidapi.zip customandroidapi.zip 51.6 KB · Views: 1,008
Hi Erel , I checked you mentioned tutorial but unfortunately i don't have any java files. To be easier for you to advice me i attached the jar file (this is an api for cutom termal printer). Thank you
Johan Schoeman Expert Licensed User Longtime User Jan 5, 2015 #52 Erel said: Android is based on Java 6. Make sure that you set the project JDK version to 6. Click to expand... Hi Erel Busy trying my hand at this. Sorry for the stupid question but where and how do I do it or check that I am indeed making use of JDK version 6. Have just gone through the video tutorial and everything working 100% (including making use of the lib in a B4A project) but unsure if my Eclipse project is using JDK v6. Make sure that you set the project JDK version to 6. Edit: I have the Execution environment set to JavaSE-1.6 (jre8). I guess this must be it? THIS IS BETTER THAN CHEESE! Last edited: Jan 5, 2015
Erel said: Android is based on Java 6. Make sure that you set the project JDK version to 6. Click to expand... Hi Erel Busy trying my hand at this. Sorry for the stupid question but where and how do I do it or check that I am indeed making use of JDK version 6. Have just gone through the video tutorial and everything working 100% (including making use of the lib in a B4A project) but unsure if my Eclipse project is using JDK v6. Make sure that you set the project JDK version to 6. Edit: I have the Execution environment set to JavaSE-1.6 (jre8). I guess this must be it? THIS IS BETTER THAN CHEESE!
Erel B4X founder Staff member Licensed User Longtime User Jan 6, 2015 #53 Note that Java 7 is also supported now.
little3399 Active Member Licensed User Longtime User May 27, 2015 #54 HI, here is my compile error message Attachments upload_2015-5-28_1-48-3.png 158.3 KB · Views: 943
Johan Schoeman Expert Licensed User Longtime User May 27, 2015 #55 little3399 said: HI, here is my compile error message Click to expand... Can you post your code of Firstlib? Might be easier to see what the exact problem is. There is an example here of how I have done it by writing the Java code in Notepad and compiled it with Simple Library Compiler. https://www.b4x.com/android/forum/threads/creating-a-library-with-simple-library-compiler-slc.48196/ Last edited: May 27, 2015
little3399 said: HI, here is my compile error message Click to expand... Can you post your code of Firstlib? Might be easier to see what the exact problem is. There is an example here of how I have done it by writing the Java code in Notepad and compiled it with Simple Library Compiler. https://www.b4x.com/android/forum/threads/creating-a-library-with-simple-library-compiler-slc.48196/
little3399 Active Member Licensed User Longtime User May 28, 2015 #56 Hi , here is my FirstLib code Attachments upload_2015-5-28_8-6-27.png 193.4 KB · Views: 920
Johan Schoeman Expert Licensed User Longtime User May 28, 2015 #57 little3399 said: Hi , here is my FirstLib code Click to expand... Your code seems to be fine. Have you followed what is stated in posts 31 to 33 of this thread? Last edited: May 28, 2015
little3399 said: Hi , here is my FirstLib code Click to expand... Your code seems to be fine. Have you followed what is stated in posts 31 to 33 of this thread?
Erel B4X founder Staff member Licensed User Longtime User May 28, 2015 #58 Make sure to compile your library with Java 7 or 6.
Erel B4X founder Staff member Licensed User Longtime User Jan 31, 2016 #59 No. You can use Java 8 to compile. Make sure to set the compliance level to java 7. Another (recommended) option is to use SLC to compile the library.
No. You can use Java 8 to compile. Make sure to set the compliance level to java 7. Another (recommended) option is to use SLC to compile the library.
little3399 Active Member Licensed User Longtime User Feb 1, 2016 #60 Java8 how to set the compliance level to java 7 ? Tks!