public static boolean createFolder(@SuppressWarnings("UnusedParameters") Context mContext,String path,String folderName){
  File SDCardRoot=new File(path,folderName);
  if (!SDCardRoot.exists()) {
    return SDCardRoot.mkdir();
  }
  return false;
}

public static boolean createFolder ( @ SuppressWarnings ( "UnusedParameters" ) Context mContext , String path , String folderName ) { File SDCardRoot = new File ( path , folderName ) ; if ( ! SDCardRoot . exists ( ) ) { return SDCardRoot . mkdir ( ) ; } return false ; }
use to create folder in your directory
