public static String getCacheSize() { if (isExternalStorageMounted()) { String path = SDCARD_PATH + File.separator; FileSize size = new FileSize(new File(path)); return size.toString(); } return "0MB"; }