public FileInformation getFileInfo(final Uri uri) {
        if (isEmpty(uri)) {
            return null;
        }

        try {
            return getAccessorFor(uri).getFileInfo(uri);
        } catch (IOException ioe) {
            reportProblem(R.string.contentstorage_err_read_failed, ioe, false, uri);
        }
        return null;
    }
Helper method to get the File Information for a Uri. Returns null if Uri does not exist.
<br>
Note carefully: in case this Uri is not a File-Uri and points to a directory, the Folder field of the returned object is NOT FILLED
Unfortunately it is not possible to retrieve this info from an Uri alone.
main/src/main/java/cgeo/geocaching/storage/ContentStorage.java