Hi All.
Houston we have a problem
As explained in this post.
When the package is packaged using Macsigner and becomes a single file, the File.DirApp directory is no longer usable.
Now with "temporary" files such as PDFs that are loaded, Excel files that are saved can be moved to the File.DirTemp folder and everything works properly.
But if a file must be persistent, such as a db, which directory can it be moved to ?
Looking at the following documentation, I don't think there are any valid alternatives.
Any suggestion ?
Thank you
Marco
Houston we have a problem
As explained in this post.
[B4X] [XUI] AS Scheduler 📅 - MonthView, DayView (Week), AgendaView and CalendarView [Payware]
The AS Scheduler is a B4X library for displaying and interacting with appointments. You want to try the views out? Then click here This library is not free, because, it cost a lot of time and gray hair to create such views. Minimum Donation Value: 30€ Please write Scheduler in the order...www.b4x.com
When the package is packaged using Macsigner and becomes a single file, the File.DirApp directory is no longer usable.
Now with "temporary" files such as PDFs that are loaded, Excel files that are saved can be moved to the File.DirTemp folder and everything works properly.
But if a file must be persistent, such as a db, which directory can it be moved to ?
Looking at the following documentation, I don't think there are any valid alternatives.
File.DirAssets - The assets folder holds the files that were added to the Files tab. This is a virtual read-only folder. When you compile your program in Release mode the files are packaged inside the Jar files.
File.DirTemp - A temporary folder.
File.DirApp - The program folder. This is the path to the jar file. Note that on Windows it might be read-only (if the program is installed in Program Files).
File.DirData - A folder suitable for writing files. On non-Windows it is the same as File.DirApp. On Windows it points to the user data folder
Any suggestion ?
Thank you
Marco
Last edited: