Here you can find the source of getAlbumStorageDirectory(String albumName)
public static File getAlbumStorageDirectory(String albumName)
//package com.java2s; import android.os.Environment; import android.util.Log; import java.io.File; public class Main { public static File getAlbumStorageDirectory(String albumName) { // Get the directory for the user's public pictures directory. File file = new File( Environment/* w w w. jav a 2s.c o m*/ .getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), albumName); if (!file.mkdirs()) { Log.e("", "Directory not created"); } return file; } }