I am working with a sqllite file in my machine.
I copied to the sandbox folder in order for the application to be able to read it.
How can I copy it to the iphone when installing the app?
[import]uid: 9304 topic_id: 2176 reply_id: 302176[/import]
I am working with a sqllite file in my machine.
I copied to the sandbox folder in order for the application to be able to read it.
How can I copy it to the iphone when installing the app?
[import]uid: 9304 topic_id: 2176 reply_id: 302176[/import]
You put the sqlite file in the same directory as main.lua (Resource directory). You then use file OS calls to open the file in the resource directory and write the content to a new file in the /Documents directory.
If you don’t plan to modify the file, you could use in from the resource directory.
-Tom [import]uid: 7559 topic_id: 2176 reply_id: 6575[/import]