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
This should help. First get the path of the external storage:
File root=Environment.getExternalStorageDirectory();
Then:
File picDirectory = new File(root.getAbsolutePath(), "mnt/sdcard/images"); picDirectory.mkdirs();