03-15-2011 05:24 AM
Hi all,
when I save document edited by my app I get 'Permition denied' error. Where can I save the document? How can I get that folder?
03-15-2011 06:28 AM
Hello,
you can't write in the App. directory. You should use:
File.applicationStorageDirectory
03-15-2011 08:06 AM
If the files are application specific, like preferences, they can go in the app-storage directory. Files in this directory will get removed when the application is uninstalled, but remain if the application just get upgraded/re-installed.
Files that are user data specific (e.g. photos, database, documents) should go somewhere in the document directory (AKA shared directory). There are sub folders for things like photos, videos, etc.