My Android tablet has a microSD slot which appears in Astro file manager as /mnt/extsd. I have inserted a 16gb card into this and am able to see any files on it again is Atsro. In my app I want to backup a database to this device so I have used:
File.Copy(File.DirRootExternal,"test.db","/mnt/extsd/","test_backup.db")
But I get a error "libcore.io.ErrnoException: open failed: EACCES (Permission denied)"
Earlier in the app I have used DirRootExternal so I believe that should add the necessary permission WRITE_EXTERNAL_STORAGE to the manifest file.
Any suggestions?
Ta.
File.Copy(File.DirRootExternal,"test.db","/mnt/extsd/","test_backup.db")
But I get a error "libcore.io.ErrnoException: open failed: EACCES (Permission denied)"
Earlier in the app I have used DirRootExternal so I believe that should add the necessary permission WRITE_EXTERNAL_STORAGE to the manifest file.
Any suggestions?
Ta.