Is it possible to send some data already in the local storage in an Windows 8 app? I'm using a file based database in my project and want to deliever the whole database to the user so that I don't have to create all entries (more than 350).
You can find the data of the local storage in C:\Users\ username\AppData\Local\Packages, but there I cannot save information out of my app. Perhaps you have an idea.
Thanks.
The way I did it in the past, to allow writing data to the file was...
- Add the file as an asset.
- on startup, check the local storage folder to see if the file exists.
- If the file doesn't exist, copy it from the InstalledLocation to LocalFolder
- perform IO as normal on the copied file.
If you then need to update the file from the web, you can download the new copy direct to the LocalFolder path for use, or parse it and add entries to the original file.