public class SDCardUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getExternalStorageAbsolutePath()
Get external storage absolute path
|
static long |
getFreeBytes(String filePath)
Get available space(byte) of designated path
|
static String |
getRootDirectoryPath()
Get system absolute path
|
static long |
getSDCardAllSize()
Get external storage available space(byte)
|
static boolean |
isExternalStorageEnable()
Is external storage is usable?
|
public static boolean isExternalStorageEnable()
public static String getExternalStorageAbsolutePath()
public static long getSDCardAllSize()
public static long getFreeBytes(String filePath)
filePath - public static String getRootDirectoryPath()