Build 1.0_r1(from source)

android.provider
Class MediaStore.Audio.Media

java.lang.Object
  extended by android.provider.MediaStore.Audio.Media
All Implemented Interfaces:
BaseColumns, MediaStore.Audio.AudioColumns, MediaStore.MediaColumns
Enclosing class:
MediaStore.Audio

public static final class MediaStore.Audio.Media
extends Object
implements MediaStore.Audio.AudioColumns


Field Summary
static String CONTENT_TYPE
          The MIME type for this table.
static String DEFAULT_SORT_ORDER
          The default sort order for this table
static Uri EXTERNAL_CONTENT_URI
          The content:// style URI for the "primary" external storage volume.
static Uri INTERNAL_CONTENT_URI
          The content:// style URI for the internal storage.
static String RECORD_SOUND_ACTION
          Activity Action: Start SoundRecorder application.
 
Fields inherited from interface android.provider.MediaStore.Audio.AudioColumns
ALBUM, ALBUM_ART, ALBUM_ID, ALBUM_KEY, ARTIST, ARTIST_ID, ARTIST_KEY, COMPOSER, DURATION, IS_ALARM, IS_MUSIC, IS_NOTIFICATION, IS_RINGTONE, TITLE_KEY, TRACK, YEAR
 
Fields inherited from interface android.provider.MediaStore.MediaColumns
DATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, MIME_TYPE, SIZE, TITLE
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Constructor Summary
MediaStore.Audio.Media()
           
 
Method Summary
static Uri getContentUri(String volumeName)
          Get the content:// style URI for the audio media table on the given volume.
static Uri getContentUriForPath(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_CONTENT_URI

public static final Uri INTERNAL_CONTENT_URI
The content:// style URI for the internal storage.


EXTERNAL_CONTENT_URI

public static final Uri EXTERNAL_CONTENT_URI
The content:// style URI for the "primary" external storage volume.


CONTENT_TYPE

public static final String CONTENT_TYPE
The MIME type for this table.

See Also:
Constant Field Values

DEFAULT_SORT_ORDER

public static final String DEFAULT_SORT_ORDER
The default sort order for this table

See Also:
Constant Field Values

RECORD_SOUND_ACTION

public static final String RECORD_SOUND_ACTION
Activity Action: Start SoundRecorder application.

Input: nothing.

Output: An uri to the recorded sound stored in the Media Library if the recording was successful.

See Also:
Constant Field Values
Constructor Detail

MediaStore.Audio.Media

public MediaStore.Audio.Media()
Method Detail

getContentUri

public static Uri getContentUri(String volumeName)
Get the content:// style URI for the audio media table on the given volume.

Parameters:
volumeName - the name of the volume to get the URI for
Returns:
the URI to the audio media table on the given volume

getContentUriForPath

public static Uri getContentUriForPath(String path)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature