SpecialFolder.Personal location

前端 未结 1 1069
情书的邮戳
情书的邮戳 2020-12-09 10:34

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

相关标签:
1条回答
  • 2020-12-09 11:36

    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
    
    0 讨论(0)
提交回复
热议问题