我正在使用以下代码创建文件
OutputStreamWriter out = new OutputStreamWriter(openFileOutput("try.txt",0));
// write the contents on mySettings to the file
out.write("erterter");
// close the file
out.close();
最佳答案
以这种方式创建的文件存储在您应用程序的私有(private)存储中:/data/data/com.package/files
关于android - 创建的文件在 android 中物理存储在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11615153/