K Kudagotz Member Mar 9, 2021 #1 After building a standaone package, I am failing to locate the sqlite database in the build folder. I would really appreciate if some can assist me.
After building a standaone package, I am failing to locate the sqlite database in the build folder. I would really appreciate if some can assist me.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2021 #2 I guess that you put it in the Files folder, right? It will be embedded in the package. You need to copy it to XUI.DefaultFolder before you can access it, as it needs read-write access. Upvote 0
I guess that you put it in the Files folder, right? It will be embedded in the package. You need to copy it to XUI.DefaultFolder before you can access it, as it needs read-write access.
K Kudagotz Member Mar 9, 2021 #3 yes It's in the files folder.... I can read-write ,but I want to access the sqlite.db file so that i can access it with database admin tool. I am failing to locate the file.db. Upvote 0
yes It's in the files folder.... I can read-write ,but I want to access the sqlite.db file so that i can access it with database admin tool. I am failing to locate the file.db.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2021 #4 You will need to copy it to a different place. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2021 #6 It depends. XUI.DefaultFolder is a good place for files that the program writes. It is not easily accessible to the user. Upvote 0
It depends. XUI.DefaultFolder is a good place for files that the program writes. It is not easily accessible to the user.
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2021 #8 Best option is to let the user choose it with FileChooser. If you want to get the path to the user documents folder: https://www.b4x.com/android/forum/threads/find-user-documents-folder.101057/#content Upvote 0
Best option is to let the user choose it with FileChooser. If you want to get the path to the user documents folder: https://www.b4x.com/android/forum/threads/find-user-documents-folder.101057/#content