Can anyone help with this problem
when i try to execute this code
File routesRoot = Environment.getExternalStorageDirectory(); if (!routesRoot.canWrite()) System.out.println("can't write root"); if (!routesRoot.canRead()) System.out.println("can't read root");
at startup, the program cannot write / read
I set permission to access sdcard, what is the problem?
source share