Share My Creation [B4X] [TOOL][SOURCE] lm Snippets Manager

Xfood

Expert
Licensed User
I am not bothering you, but just noticed that I cannot create a separate * .exe with your program.
sorry, what method are you using to create an exe? which version of java do you use? if you want help, the community here is always willing to help, just give some more information.
 

LucaMs

Expert
Licensed User
Longtime User
You've tried OpenJDK 14.0.2, which doesn't seem to work well.
Download OpenJDK 14.0.1 and unzip its contents like in this line:
B4X:
#JavaCompilerPath: 14, C:\jdk-14.0.1\bin\javac.exe
and it will work.
(DO NOT use Windows unzipper, use 7-zip - or WinRar but haven't tried it)
 
Last edited:

LucaMs

Expert
Licensed User
Longtime User
For all licensed members registered in the last 12 months, therefore from 16 July 2020, a 50% discount (€8 instead of €16).

Furthermore, for all members, until 31 August 2021 inclusive, the price is €12 instead of €16 .
 

aeric

Expert
Licensed User
Longtime User
Hi @LucaMs , I am interested on how you develop with B4J to produce the UI for this product. Such as how to create a theme button, shadow textfield, table view, etc. My wish is you can create some B4J tutorial/video to teach me how to do it.
 

LucaMs

Expert
Licensed User
Longtime User
to teach me how to do it.
I would first have to find someone to teach it to me

I'm not very organized, in the sense that I don't have any particular personal tools or methods to create the graphical interface and I don't automatically apply some theme, I just set shadows and outlines directly in the Designer.





Then it's easy to copy and paste buttons, textfields, ... into other layouts (even easier to duplicate them in the same layout by pressing CTRL + D)


The only "special" thing is the DBSearchView, my modified version of an Erel view, SearchView.
 
Last edited:

aeric

Expert
Licensed User
Longtime User
Thanks. I found it. The property was collapsed. Now I see it.
 

toby

Well-Known Member
Licensed User
Longtime User
Can data be exported and imported? Can user backup and restore data?
 
Last edited:

LucaMs

Expert
Licensed User
Longtime User
Can data be exported and imported?
No. Of course I can add these features; what formats do you suggest?
If I'm not mistaken, there are no libraries on site that allow you to export-import full SQLite DBs.
It might be worth trying to develop one, but it's certainly a lot of work (evaluating relationships and then importing independent tables first, for example).
I could try but then I should make you pay "a lot" for this library
 
Last edited:

toby

Well-Known Member
Licensed User
Longtime User
For me, any text file based backup, csv, txt or sql would be good enough. I want to be able to compare different version and to restore in case my laptop drops dead.
 

LucaMs

Expert
Licensed User
Longtime User
I want to be able to compare different version and to restore in case my laptop drops dead.
It does not seem to me that you should compare two versions (unless I update the SW, the version will always be the same; and I have not even wrote this type of data in a table) but that you want to make a backup and recover the DB in some cases (also, for example, if you wanted to have the SW on more than one PC).

By default, as in all our SW, if at the first start it does not find the DB in the directory, it is copied from DirAssets.
I could "simply" add the possibility to make the backup (manual DB copy, I don't think of a timed functionality) and to import it, replacing the one "created" at the beginning.

The SW shows the number of snippets; eventually, before replacing the DB I could write in the "import" dialog the number of those in the backup.

Do you have a different idea?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…