Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can't create a file outside of the appfolder

$
0
0

Hi there, so I need to keep a file when app is uninstalled, so as I know android OS deletes all files inside the appfolder, that's why I'm trying to keep the data some where not inside appfolder, when I try to create a file outside of that folder Java.IO.IOException: Permission denied.
var dbFile = new File("/data/user/", "silkdatabase.db"); //
var created = dbFile.CreateNewFile();


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>