Jon,

Looking at the options, it seems that:

        using (var o = new StreamWriter(OpenFileOutput("appname.db",
FileCreationMode.WorldReadable))) 
 
should solve the problem. However, I'm not familiar with StreamWriter and
how to use it to copy the Assets empty sqlite database file - say appname.db
- to: /data/data/Scratch.PublicFiles/files/appname.db? I then need to
pull/push this file to/from the PC using. for example:

"C:\Program Files (x86)\Appname\adb.exe" pull
data/data/Scratch.PublicFiles/files/appname.db "C:\Program Files
(x86)\AppName"

Currently, I use Filestream for that purpose which, of course, doesn't have
a FileCreationMode parameter.

Thanks...Andrew



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Changing-Folder-File-permissions-in-MfA-tp5712215p5712230.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to