java.io.FileNotFoundException: access denied even though I've putted permissions in AndroidManifest

后端 未结 1 1453
野性不改
野性不改 2021-01-28 22:25

I need again your help please!!

I\'ve an android application that write/read files to/from External memory. I\'ve written all riquired permissions in AndroidManifest but

相关标签:
1条回答
  • 2021-01-28 23:03

    First open the path, then add the file:

    Updated

    String dir = Environment.getExternalStorageDirectory(); // getAbsolutePath is not requried
    File path = new File(dir);
    File root = new File(path,  "ekg_daten.zip");
    
    0 讨论(0)
提交回复
热议问题