[MonoTouch] Updaing App With Database

Jonathan Pryor jonpryor at vt.edu
Fri Oct 2 09:46:40 EDT 2009


On Thu, 2009-10-01 at 23:32 -0500, Tim Scott wrote:
> what is the correct way to deploy a sqlite3 database so that the app
> can be updated without trashing the existing database?

	http://wiki.monotouch.net/HowTo/Files/HowTo:_Store_Files

Specifically, you need to store files into basedir/Documents if you
don't want app upgrades to overwrite the files.  You can obtain the
basedir/Documents directory using:

	Environment.GetFolderPath (Environment.SpecialFolder.Personal);

 - Jon




More information about the MonoTouch mailing list