Java tutorial
//package com.java2s; import android.util.Log; import java.io.File; public class Main { private static final String TAG = "AlarmReceiver"; private static void file(String path) { File destDir = new File(path); Log.d(TAG, destDir.getAbsolutePath()); if (!destDir.exists()) { Log.d(TAG, "false"); destDir.mkdirs(); } } }