Java tutorial
//package com.java2s; import android.content.Context; import android.os.Environment; public class Main { private static final String APP_EXTERNAL_STORAGE_DIR_FORMAT = Environment.getExternalStorageDirectory() .getAbsolutePath() + "/Android/data/%s/files/"; public static String getApplicationExternalStorageDirectory(Context context) { return String.format(APP_EXTERNAL_STORAGE_DIR_FORMAT, context.getPackageName()); } }