Im trying to build a directory called \"images\" on the SD card on android. This is my code but its not working? Can anyone give me some advice?
File picDire
Environment.getExternalStorageDirectory() is deprecated. So you should use you this:
Environment.getExternalStorageDirectory()
File directory = new File(this.getExternalFilesDir(null).getAbsolutePath() + "/YourDirectoryName"); directory.mkdirs();