public static boolean deleteImage(final Uri uri) {
        if (uri != null && StringUtils.isNotBlank(uri.toString())) {
            return ContentStorage.get().delete(uri);
        }
        return false;
    }
Image that automatically scales to fit a line of text in the containing {@link TextView}.
main/src/main/java/cgeo/geocaching/utils/ImageUtils.java