How to create directory automatically on SD card
If you create a File object that wraps the top-level directory you can call it’s mkdirs() method to build all the needed directories. Something like: // create a File object for the parent directory File wallpaperDirectory = new File(“/sdcard/Wallpaper/”); // have the object build the directory structure, if needed. wallpaperDirectory.mkdirs(); // create a File object … Read more