24
score
4K
views
yes
status
CC BY-SA 3.0
mkdir() works while inside internal flash storage, but not SD card?
First, you should note that file.mkdir() and file.mkdirs() returns false if the directory already existed. If you want to know whether the directory exists on return, either use (file.mkdir() || file.isDirectory()) or...