SpecialFolder.Personal位置 [英] SpecialFolder.Personal location
问题描述
谢谢。 路径 / data / data / [your.package.name] / files
。这是您的应用程序的私人目录,所以您将无法使用文件浏览器查看这些文件,除非它具有root权限。
您可以通过以下方式检查这些文件adb通过以下命令:
adb shell
run-as your.package.name
cd文件
I am saving a file to System.Environment.SpecialFolder.Personal in Xamarin, it appears to succeed, because I can immediately pull data from the file. However, I cannot browse and find this file on my phone, where exactly is this elusive 'Personal' folder.
Thanks.
The System.Environment.SpecialFolder.Personal
type maps to the path /data/data/[your.package.name]/files
. This is a private directory to your application so you won't be able to see these files using a file browser unless it has root privileges.
You can inspect these files through adb through the following commands:
adb shell
run-as your.package.name
cd files
这篇关于SpecialFolder.Personal位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!