Java tutorial
//package com.java2s; import java.io.File; import android.os.Environment; public class Main { public static File getHomeFileLoc() { File sdcard = Environment.getExternalStorageDirectory(); File sdpath = new File(sdcard.getAbsolutePath() + File.separator + "KnouNotice"); if (!sdpath.exists()) { boolean flag = sdpath.mkdirs(); } return sdpath; } }