question: public boolean hasSdcard ( ) { String state = Environment . getExternalStorageState ( ) ; if ( state . equals ( Environment . MEDIA_MOUNTED ) ) { return true ; } else { return false ; } }
target:  Judge if device has SD card