[mono-android] Changing Folder/File permissions in MfA
was
skylogdev at btconnect.com
Wed Oct 24 07:27:45 UTC 2012
After some xperimentation, I found using:
$ adb shell cat /data/data/App.AppName/files/appname.db
to copy the file to the PC results in a slightly larger file that cannot be
opened by the PC's sqlite database (RazorSQL), while the file received
using:
adb pull /data/data/App.AppName/files/appname.db
can be. So, I don't think the StreamWriter method will work as it looks like
I can only use the ADB pull/push commands. I guess the 2nd
(LinuxUtils.Syscall.chmod ...) method is the only one which will work?
Although I'm not sure how setting the file's permission will allow access to
it using ADB pull/push if the device is denying permission to the app's
folder itself?
Andrew
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Changing-Folder-File-permissions-in-MfA-tp5712215p5712231.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list