Skip to content

Instantly share code, notes, and snippets.

@paddycarver
Created April 11, 2011 10:22
Show Gist options
  • Save paddycarver/913325 to your computer and use it in GitHub Desktop.
Save paddycarver/913325 to your computer and use it in GitHub Desktop.
String sdCard = android.os.Environment.getExternalStorageDirectory().getPath();
String root = sdCard + "/com.yourapp/";
public static void makeDir(String dir){
File fileObj = new File(root+dir);
fileObj.mkdir();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment