Add new action for launching the user's music player app.

android.intent.action.MUSIC_PLAYER

http://b/2237931
This commit is contained in:
Daniel Sandler
2010-02-18 16:00:43 -05:00
parent b427a7b0e4
commit edcdbb6d3b
2 changed files with 18 additions and 0 deletions

View File

@@ -130743,6 +130743,17 @@
visibility="public"
>
</field>
<field name="INTENT_ACTION_MUSIC_PLAYER"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.intent.action.MUSIC_PLAYER&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="INTENT_ACTION_STILL_IMAGE_CAMERA"
type="java.lang.String"
transient="false"

View File

@@ -53,6 +53,13 @@ public final class MediaStore {
private static final String CONTENT_AUTHORITY_SLASH = "content://" + AUTHORITY + "/";
/**
* Activity Action: Launch a music player.
* The activity should be able to play, browse, or manipulate music files stored on the device.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String INTENT_ACTION_MUSIC_PLAYER = "android.intent.action.MUSIC_PLAYER";
/**
* Activity Action: Perform a search for media.
* Contains at least the {@link android.app.SearchManager#QUERY} extra.