Well I am behind when learning to make an iPad app... the SQLite is also a checkbox in iOS Standalone settings (I see nothing about database libraries so I assume LC 8 handles this in the background)
Also, the "engine's folder" may work since I would load the database in memory while the app is running alternatively I can put them in the cache or Documents folder as suggested. Glen On Thu, Oct 15, 2015 at 12:57 PM, Glen Bojsza <gboj...@gmail.com> wrote: > 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 <rdim...@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 >> rdim...@evergreeninfo.net >> >> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode