question: public String compress ( String imageUri , boolean deleteSourceImage ) { String compressUri = compressImage ( imageUri ) ; if ( deleteSourceImage ) { File source = new File ( getRealPathFromURI ( imageUri ) ) ; if ( source . exists ( ) ) { boolean isdeleted = source . delete ( ) ; Log . d ( LOG_TAG , ( isdeleted ) ? "SourceImage File deleted" : "SourceImage File not deleted" ) ; } } return compressUri ; }
target:  Compresses the image at the specified Uri String and and return the filepath of the compressed image.