Hi,
I have been reading the tutorial: https://www.b4x.com/android/forum/threads/files-and-folders.46137/
I am planning on storing a local database (.db file) on the device and don't want the user to access this database in iTunes.
I also plan to add a log file (.txt file) so the user can access this file in iTunes.
Looking at the tutorial it says: File.DirDocuments can be shared through iTunes.
In order to enable this feature you need to add this attribute:
Code:
Since I want the log file to be accessible, I guess this file needs to be placed in File.DirDocuments.
However, where should I save my database file? I don't want this database to be deleted when the app gets updated. I am guessing this database needs to be placed in File.DirLibrary ?
I have been reading the tutorial: https://www.b4x.com/android/forum/threads/files-and-folders.46137/
I am planning on storing a local database (.db file) on the device and don't want the user to access this database in iTunes.
I also plan to add a log file (.txt file) so the user can access this file in iTunes.
Looking at the tutorial it says: File.DirDocuments can be shared through iTunes.
In order to enable this feature you need to add this attribute:
Code:
B4X:
#PlistExtra: <key>UIFileSharingEnabled</key><true/>
Since I want the log file to be accessible, I guess this file needs to be placed in File.DirDocuments.
However, where should I save my database file? I don't want this database to be deleted when the app gets updated. I am guessing this database needs to be placed in File.DirLibrary ?