Added in API level 1

OpenableColumns


public interface OpenableColumns

android.provider.OpenableColumns


These are standard columns for openable URIs. Providers that serve openable URIs must support at least these columns when queried.

To find the content type of a URI, use ContentResolver#getType(android.net.Uri).

Summary

Constants

String DISPLAY_NAME

The human-friendly name of file.

String SIZE

The number of bytes in the file identified by the openable URI.

Constants

DISPLAY_NAME

Added in API level 1
public static final String DISPLAY_NAME

The human-friendly name of file. If this is not provided then the name should default to the the last segment of the file's URI.

Constant Value: "_display_name"

SIZE

Added in API level 1
public static final String SIZE

The number of bytes in the file identified by the openable URI. Null if unknown.

Constant Value: "_size"