Java tutorial
//package com.java2s; import java.io.File; public class Main { static String SDPATH = ""; public static File createSDDir(String dirName) { File file = new File(SDPATH + dirName); if (file.exists()) { return file; } file.mkdir(); return file; } }