Java tutorial
//package com.java2s; import java.io.File; import android.os.Environment; public class Main { public static final String PATH = Environment.getExternalStorageDirectory().getPath() + "/appstore"; public static void initDir(String filePath) { File f = new File(PATH + filePath); if (!f.exists()) f.mkdir(); } }