Jan 10, 2014 Replies: 18 UPDATED 1-14-2014 5:42pm EST: I have updated the libraries and the SAMPLE code. I have created a new library which is included, to replicate the functions of the MsgBox and the ToastMessage. Please copy all .jar & .xml files in the libraries folder to your ExtraLibs folder for B4J. Please report any issues you find, as this is a work in progress. --- Original --- I am converting the B4A Database Library to B4J. Attached is a Beta version that I am looking for some testing and feeback on. It includes a sample project and the library files. Copy the .jar & .xml files to your ExtraLibs folder. Attachments JDataBase With Demo 1.1.zip JDataBase With Demo 1.1.zip 327.3 KB · Views: 1,236 Last edited: Jan 14, 2014 Click to expand...
UPDATED 1-14-2014 5:42pm EST: I have updated the libraries and the SAMPLE code. I have created a new library which is included, to replicate the functions of the MsgBox and the ToastMessage. Please copy all .jar & .xml files in the libraries folder to your ExtraLibs folder for B4J. Please report any issues you find, as this is a work in progress. --- Original --- I am converting the B4A Database Library to B4J. Attached is a Beta version that I am looking for some testing and feeback on. It includes a sample project and the library files. Copy the .jar & .xml files to your ExtraLibs folder.
giga Well-Known Member Licensed User Longtime User Jan 10, 2014 #2 You're Awesome Margret, Thanks for the contributions you have made to our forum.
Olaan Expert Licensed User Longtime User Jan 12, 2014 #3 Hi Margret, I've test the example, I 've the error message is: Parsing code. 0.02 Compiling code. 0.06 Compiling generated Java code. Error Cannot find: C:\Program Files\Anywhere Software\B4J\libraries\reflection.jar Click to expand... In B4J has Andrew's jreflection,why not it still error.
Hi Margret, I've test the example, I 've the error message is: Parsing code. 0.02 Compiling code. 0.06 Compiling generated Java code. Error Cannot find: C:\Program Files\Anywhere Software\B4J\libraries\reflection.jar Click to expand... In B4J has Andrew's jreflection,why not it still error.
margret Well-Known Member Licensed User Longtime User Jan 12, 2014 #4 Make sure you have the newest version of the jReflection library in your B4J Extralibs folder and that you have Configure Paths set. You do not have to select it in the libs TAB but it must be in your ExtraLibs folder. This is why you are getting the error. Last edited: Feb 11, 2014
Make sure you have the newest version of the jReflection library in your B4J Extralibs folder and that you have Configure Paths set. You do not have to select it in the libs TAB but it must be in your ExtraLibs folder. This is why you are getting the error.
agraham Expert Licensed User Longtime User Jan 12, 2014 #5 Margret, your library seems to be using the B4A version of Reflection. For consistency I suggest you change it to use the B4J version, jReflection. as the B4A version may fail under B4J. http://www.b4x.com/android/forum/forums/b4j-libraries-classes.56/
Margret, your library seems to be using the B4A version of Reflection. For consistency I suggest you change it to use the B4J version, jReflection. as the B4A version may fail under B4J. http://www.b4x.com/android/forum/forums/b4j-libraries-classes.56/
margret Well-Known Member Licensed User Longtime User Jan 12, 2014 #6 Thank you, you are right, I will change it. Glad you saw this, thank you.
margret Well-Known Member Licensed User Longtime User Jan 14, 2014 #7 Updated libs and Sample Code attached to post # 1.
LucaMs Expert Licensed User Longtime User Jan 14, 2014 #8 --- Original --- I am converting the B4A Database Library to B4J. Which library? ------- I answer to myself: "This one, my Databases Class" (found now )
--- Original --- I am converting the B4A Database Library to B4J. Which library? ------- I answer to myself: "This one, my Databases Class" (found now )
Olaan Expert Licensed User Longtime User Jan 15, 2014 #9 Hi Margret, Thank you (It's better,if you delete JDataBase.zip in post #1). Last edited: Jan 15, 2014
margret Well-Known Member Licensed User Longtime User Jan 23, 2014 #10 The original post was deleted. Please report back with any issues you find. Thanks
M myriaddev Active Member Licensed User Longtime User Feb 26, 2014 #11 Hi Margret. I use your B4a version, and love it! I tried your B4J version and found the mDB.ListRecords needs a little work (docs & code). Keep up the GREAT work!. Jerry
Hi Margret. I use your B4a version, and love it! I tried your B4J version and found the mDB.ListRecords needs a little work (docs & code). Keep up the GREAT work!. Jerry
margret Well-Known Member Licensed User Longtime User Feb 26, 2014 #12 I'll look at the docs and the code. I am still trying to work around some features that B4J is missing.
I'll look at the docs and the code. I am still trying to work around some features that B4J is missing.
M myriaddev Active Member Licensed User Longtime User Feb 26, 2014 #13 Hi Margret. I had already translated your B4A (Class version) to B4J before finding your nice Lib. I will email my work in about a week+. Jerry
Hi Margret. I had already translated your B4A (Class version) to B4J before finding your nice Lib. I will email my work in about a week+. Jerry
Z ziomorgan Active Member Licensed User Longtime User May 6, 2014 #14 hi, how can i specify the primary key during db/table creation ? thanks
Z ziomorgan Active Member Licensed User Longtime User May 6, 2014 #16 Thanks, but I meant using the margret's library with function CreateDatabase. If I have not misunderstood the function creates a file for each table.
Thanks, but I meant using the margret's library with function CreateDatabase. If I have not misunderstood the function creates a file for each table.
LucaMs Expert Licensed User Longtime User May 6, 2014 #17 ziomorgan said: Thanks, but I meant using the margret's library with function CreateDatabase. If I have not misunderstood the function creates a file for each table. Click to expand... Sorry, I don't know
ziomorgan said: Thanks, but I meant using the margret's library with function CreateDatabase. If I have not misunderstood the function creates a file for each table. Click to expand... Sorry, I don't know
margret Well-Known Member Licensed User Longtime User May 21, 2014 #18 @ zimomorgan The order you list the fields creates the key. So it will sort on the first field name you enter in the CreateDatabase.
@ zimomorgan The order you list the fields creates the key. So it will sort on the first field name you enter in the CreateDatabase.