long function ( ) { String loc0 = Environment . getExternalStorageState ( ) ; long loc1 = 0 ; if ( loc0 . equals ( Environment . MEDIA_MOUNTED ) ) { loc1 = getFreeSpaceInBytes ( Environment . getExternalStorageDirectory ( ) . getPath ( ) ) ; } else { return - 1 ; } return loc1 / 1024 ; }
get the free space in external storage concode_field_sep String LOG_TAG concode_field_sep boolean testSaveLocationExists concode_elem_sep File constructFilePaths concode_elem_sep boolean testFileExists concode_elem_sep long getFreeSpaceInBytes