Skip to content

Instantly share code, notes, and snippets.

@k7lim
Created September 8, 2011 05:06
Show Gist options
  • Save k7lim/1202669 to your computer and use it in GitHub Desktop.
Save k7lim/1202669 to your computer and use it in GitHub Desktop.
Creating an SD card subdir on Android
File root = Environment.getExternalStorageDirectory();
File myDir = new File(root, "myDirectory");
myDir.mkdirs()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment