I created a PCL project in Xamarin and I am trying to save files with a cross-platform solution using PCLstorage. This is my code (from the example in PCLstorage website)
IFolder rootFolder = FileSystem.Current.LocalStorage;
IFolder folder = await rootFolder.CreateFolderAsync("FolderName", CreationCollisionOption.OpenIfExists);
IFile file = await folder.CreateFileAsync("filename.txt", CreationCollisionOption.ReplaceExisting);
await file.WriteAllTextAsync("text");
Now, I want to know where this file is saved. In Windows Phone, using WP power tools, I can explore the isolatedStorage of my app and I find and open the txt file. While, in Android, I can't find the folder created! The path would be "data/data/com.appname.test/files/ but I don't find it!
Someone can help me?
You will be able to access to that folder only from the device (not from PC using USB cable) and only with root rights, so you need to root your device (try SuperSu from GooglePlay it work for most of the devices)