摘要:
View Code 1publicvoidgetSDCardStateAndAvailableSize(){2Stringstate=Environment.getExternalStorageState();3Log.d("xzy","sdstateis:"+state);45if(Environment.MEDIA_CHECKING.equals(state)){6Log.i("xzy","preparing");7}8if(!Environment.MEDIA_MOUNTED.equals(state)){9 阅读全文