Where are files created using FileOutputStream on Android?

后端 未结 3 1623
太阳男子
太阳男子 2021-01-23 04:27

I\'ve created a file in my code, as shown below

 FileOutputStream fOut = openFileOutput(\"samplefile.txt\", MODE_WORLD_READABLE);
 OutputStreamWriter osw = new O         


        
3条回答
  •  青春惊慌失措
    2021-01-23 05:12

    If you googled you could find this site link

    which mentions

    Android allows to persists application data via the file system. For each application the Android system creates a data/data/[application package] directory.

提交回复
热议问题