Rusty Well-Known Member Licensed User Longtime User Jan 21, 2011 #1 My app accumulates information from the user. I would like to store the data into an SQLite database. Creating and writing to the database, I've got done. Where will the data reside in the device. (It is in the Files folder) In order to open the database, I have to copy it from dirassets to dirdefaultexternal. Can I copy the file back once updated? What creates permanent new storage and where will I find it on the device? thanks,
My app accumulates information from the user. I would like to store the data into an SQLite database. Creating and writing to the database, I've got done. Where will the data reside in the device. (It is in the Files folder) In order to open the database, I have to copy it from dirassets to dirdefaultexternal. Can I copy the file back once updated? What creates permanent new storage and where will I find it on the device? thanks,
Erel B4X founder Staff member Licensed User Longtime User Jan 21, 2011 #2 The Files folder (assets folder) is read only as it is stored inside the APK file. You can use other internal folders: File.DirInternalCache or File.DirInternal. Write: Msgbox(File.DirInternal, "") to find the exact path. Upvote 0
The Files folder (assets folder) is read only as it is stored inside the APK file. You can use other internal folders: File.DirInternalCache or File.DirInternal. Write: Msgbox(File.DirInternal, "") to find the exact path.
Rusty Well-Known Member Licensed User Longtime User Jan 21, 2011 #3 Thanks, Erel. Is there a description of the differences between DirInternal, DirAssets, DirdefaultExternal, etc? I'm trying to store response information from the user in persistent storage that I can later transfer via FTP or other means. Upvote 0
Thanks, Erel. Is there a description of the differences between DirInternal, DirAssets, DirdefaultExternal, etc? I'm trying to store response information from the user in persistent storage that I can later transfer via FTP or other means.
Erel B4X founder Staff member Licensed User Longtime User Jan 21, 2011 #4 You can search for it with the new Help tool: http://www.b4x.com/forum/basic4andr...viewer-view-search-documentation-offline.html It is under the Files (Core) documentation. Upvote 0
You can search for it with the new Help tool: http://www.b4x.com/forum/basic4andr...viewer-view-search-documentation-offline.html It is under the Files (Core) documentation.
Rusty Well-Known Member Licensed User Longtime User Jan 21, 2011 #5 Sorry, I should have checked there first. I've used your new HelpViewer many times. Very good work and a great search engine. Upvote 0
Sorry, I should have checked there first. I've used your new HelpViewer many times. Very good work and a great search engine.