判断Tcard 是否满了。
public static boolean checkTCardisFull() {
String statue = Environment.getExternalStorageState();
if(Environment.MEDIA_MOUNTED.equals(statue)) {
File TCardDir = Environment.getExternalStorageDirectory();
StatFs sf = new StatFs(TCardDir.getPath());
int availCount = sf.getAvailableBlocks();
if(availCount > 0) {
return false;
}
}
return true;
}