FileDocCategorySizeDatePackage
MediaStore.javaAPI DocAndroid 1.5 API51385Wed May 06 22:41:56 BST 2009android.provider

MediaStore

public final class MediaStore extends Object
The Media provider contains meta data for all available media on both internal and external storage devices.

Fields Summary
private static final String
TAG
public static final String
AUTHORITY
private static final String
CONTENT_AUTHORITY_SLASH
public static final String
INTENT_ACTION_MEDIA_SEARCH
Activity Action: Perform a search for media. Contains at least the {@link android.app.SearchManager#QUERY} extra. May also contain any combination of the following extras: EXTRA_MEDIA_ARTIST, EXTRA_MEDIA_ALBUM, EXTRA_MEDIA_TITLE, EXTRA_MEDIA_FOCUS
public static final String
EXTRA_MEDIA_ARTIST
The name of the Intent-extra used to define the artist
public static final String
EXTRA_MEDIA_ALBUM
The name of the Intent-extra used to define the album
public static final String
EXTRA_MEDIA_TITLE
The name of the Intent-extra used to define the song title
public static final String
EXTRA_MEDIA_FOCUS
The name of the Intent-extra used to define the search focus. The search focus indicates whether the search should be for things related to the artist, album or song that is identified by the other extras.
public static final String
EXTRA_SCREEN_ORIENTATION
The name of the Intent-extra used to control the orientation of a ViewImage or a MovieView. This is an int property that overrides the activity's requestedOrientation.
public static final String
EXTRA_FULL_SCREEN
The name of an Intent-extra used to control the UI of a ViewImage. This is a boolean property that overrides the activity's default fullscreen state.
public static final String
EXTRA_SHOW_ACTION_ICONS
The name of an Intent-extra used to control the UI of a ViewImage. This is a boolean property that specifies whether or not to show action icons.
public static final String
EXTRA_FINISH_ON_COMPLETION
The name of the Intent-extra used to control the onCompletion behavior of a MovieView. This is a boolean property that specifies whether or not to finish the MovieView activity when the movie completes playing. The default value is true, which means to automatically exit the movie player activity when the movie completes playing.
public static final String
INTENT_ACTION_STILL_IMAGE_CAMERA
The name of the Intent action used to launch a camera in still image mode.
public static final String
INTENT_ACTION_VIDEO_CAMERA
The name of the Intent action used to launch a camera in video mode.
public static final String
ACTION_IMAGE_CAPTURE
Standard Intent action that can be sent to have the camera application capture an image and return it.

The caller may pass an extra EXTRA_OUTPUT to control where this image will be written. If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap object in the extra field. This is useful for applications that only need a small image. If the EXTRA_OUTPUT is present, then the full-sized image will be written to the Uri value of EXTRA_OUTPUT.

public static final String
ACTION_VIDEO_CAPTURE
Standard Intent action that can be sent to have the camera application capture an video and return it.

The caller may pass in an extra EXTRA_VIDEO_QUALITY to control the video quality.

The caller may pass in an extra EXTRA_OUTPUT to control where the video is written. If EXTRA_OUTPUT is not present the video will be written to the standard location for videos, and the Uri of that location will be returned in the data field of the Uri.

public static final String
EXTRA_VIDEO_QUALITY
The name of the Intent-extra used to control the quality of a recorded video. This is an integer property. Currently value 0 means low quality, suitable for MMS messages, and value 1 means high quality. In the future other quality levels may be added.
public static final String
EXTRA_SIZE_LIMIT
Specify the maximum allowed size.
public static final String
EXTRA_OUTPUT
The name of the Intent-extra used to indicate a content resolver Uri to be used to store the requested image or video.
public static final String
MEDIA_SCANNER_VOLUME
Name of current volume being scanned by the media scanner.
Constructors Summary
Methods Summary
public static android.net.UrigetMediaScannerUri()
Uri for querying the state of the media scanner.

        
    

                  
        
        return Uri.parse(CONTENT_AUTHORITY_SLASH + "none/media_scanner");