Android
android.provider
public static final class

android.provider.MediaStore.Audio.Media

java.lang.Object
android.provider.MediaStore.Audio.Media MediaStore.Audio.AudioColumns

Summary

Constants

      Value  
String  CONTENT_TYPE  The MIME type for this table.  "vnd.android.cursor.dir/audio" 
String  DEFAULT_SORT_ORDER  The default sort order for this table   "title" 
Uri  EXTERNAL_CONTENT_URI  The content:// style URI for the "primary" external storage volume.     
Uri  INTERNAL_CONTENT_URI  The content:// style URI for the internal storage.     
String  RECORD_SOUND_ACTION  Activity Action: Start SoundRecorder application.  "android.provider.MediaStore.RECORD_SOUND" 
Constants inherited from interface android.provider.BaseColumns
Constants inherited from interface android.provider.MediaStore.Audio.AudioColumns
Constants inherited from interface android.provider.MediaStore.MediaColumns

Public Constructors

            MediaStore.Audio.Media()

Public Methods

      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

Details

Constants

public static final String CONTENT_TYPE

The MIME type for this table.
Constant Value: "vnd.android.cursor.dir/audio"

public static final String DEFAULT_SORT_ORDER

The default sort order for this table
Constant Value: "title"

public static final Uri EXTERNAL_CONTENT_URI

The content:// style URI for the "primary" external storage volume.

public static final Uri INTERNAL_CONTENT_URI

The content:// style URI for the internal storage.

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.

Constant Value: "android.provider.MediaStore.RECORD_SOUND"

Public Constructors

public MediaStore.Audio.Media()

Public Methods

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

public static Uri getContentUriForPath(String path)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48