A
A
Alexander Vasyuchenko2016-05-06 16:42:06
Android
Alexander Vasyuchenko, 2016-05-06 16:42:06

Why is there no write access to the microSD card?

Tell me why there is no write access to a removable microSD card?

File writeFile = new File("/mnt/extSdCard/Temp/qwe.txt");
                    try {
                        writeFile.createNewFile();
                    } catch (IOException e) {
                        e.printStackTrace();
                    }

I get
java.io.IOException: open failed: EACCES (Permission denied)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2016-05-06
@gadfi

google google you are powerful ... first link, specially checked)
in a droid everything needs permission, internet, camera, map...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question