iPad File structure question
Glen Bojsza
gbojsza at gmail.com
Thu Oct 15 12:57:47 EDT 2015
This must be how a lot of the other apps are doing it since I have seen
their SQLite files in their app contents.
I am only doing read only and was hoping that this be fine but your
suggestions are well taken.
What is the syntax for copying the file from the engine's folder?
Also any idea why I can't select Script Libraries for database and Database
Support for SQLite?
Glen
On Thu, Oct 15, 2015 at 12:31 PM, Ralph DiMola <rdimola at evergreeninfo.net>
wrote:
> Mobile app's files specified in the "copy files" pane of the standalone
> settings are accessed via "the engine folder" path. You can't open SQLite
> DBs in "the engine folder" because "the engine folder" is read-only. There
> is no facility to open a SQLite db read-only. Option 1:Copy the db from
> "the
> engine folder" to "the documents folder" and open it there. On iOS make
> sure
> you mark any large files in the documents folder as "no backup" to make it
> through the review process. Option 2: Copy the db from "the engine folder"
> to "specialFolderPath("cache")" and open it there. The user can clear the
> cache so check at each startup to make sure the db is still in the
> "specialFolderPath("cache")" folder. There is no size limitation(within
> reason) for the cache on iOS as it is not backed up to the cloud.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
More information about the use-livecode
mailing list