12-12-2011 04:55 AM
i'm writting a webworks app. I want to distribute the app with a local database (will bed attach in the app bundle). I want to a access this database in my webworks extension. Which URI to file should i use? Is it file:///store/home or local:///something?
12-12-2011 02:14 PM
You can include file with in the .cod and handle it with local protocol.
See this link for more info.
12-12-2011 05:12 PM
12-12-2011 06:05 PM - edited 12-12-2011 06:06 PM
You can attach a file with json format with the database elements or a simple vairable string with json format.
On first run, create the database and insert elements from this json file or variable string.
All the best