Re: Error connecting to SQLlite in iOS

2017-04-20 Thread J. Landman Gay via use-livecode
On 4/20/17 2:05 PM, Ralph DiMola via use-livecode wrote: The standalone "copy files" are in "the engine folder" in the mobile app. Apple changed the rules and files go into specialFolderPath("resources") now. But LC aliases them to the engine folder for backward compatibility. -- Jacqueline

RE: Error connecting to SQLlite in iOS

2017-04-20 Thread Ralph DiMola via use-livecode
John, The standalone "copy files" are in "the engine folder" in the mobile app. Copy the DB from the engine folder to the documents folder. Put url ("binfile:"&the engine folder&"/ccssdb-ela.sqlite") into url ("binfile:"&the documents folder&"/ccssdb-ela.sqlite") You can't open the DB in the en

Re: Error connecting to SQLlite in iOS

2017-04-20 Thread Mike Bonner via use-livecode
Unless things have changed, when you add files using the copy files pane of the standalone settings, when sent to ios or android they end up in the engine folder. (I think? Or somewhere in that hierarchy) You would need to check for the existence of the file in documents on app startup and if it d