blob: a445f16dcc3fca5975018ce4abf66ea106fb78c8 [file] [log] [blame]
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.music">
19 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
20 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
21 <uses-permission android:name="android.permission.WAKE_LOCK" />
22 <uses-permission android:name="android.permission.INTERNET" />
23 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
24
25 <application android:icon="@drawable/app_music"
26 android:label="@string/musicbrowserlabel"
27 android:taskAffinity="android.task.music"
28 android:allowTaskReparenting="true">
The Android Open Source Projectd57d6982009-02-10 15:44:05 -080029 <activity android:name="MusicBrowserActivity">
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -070030 <intent-filter>
31 <action android:name="android.intent.action.MAIN" />
32 <category android:name="android.intent.category.DEFAULT" />
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
The Android Open Source Projectc4a91122009-02-19 10:57:36 -080035 <meta-data
36 android:name="android.app.default_searchable"
37 android:value=".QueryBrowserActivity"
38 />
39 </activity>
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -070040 <receiver android:name="MediaButtonIntentReceiver">
41 <intent-filter>
42 <action android:name="android.intent.action.MEDIA_BUTTON" />
The Android Open Source Projectd57d6982009-02-10 15:44:05 -080043 <action android:name="android.media.AUDIO_BECOMING_NOISY" />
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -070044 </intent-filter>
45 </receiver>
46 <!-- This is the "current music playing" panel, which has special
47 launch behavior. We clear its task affinity, so it will not
48 be associated with the main media task and if launched
49 from a notification will not bring the rest of the media app
50 to the foreground. We make it singleTask so that when others
51 launch it (such as media) we will launch in to our own task.
52 We set clearTaskOnLaunch because the user
53 can go to a playlist from this activity, so if they later return
54 to it we want it back in its initial state. We exclude from
55 recents since this is accessible through a notification when
56 appropriate. -->
57 <activity android:name="MediaPlaybackActivity"
58 android:theme="@android:style/Theme.NoTitleBar"
59 android:label="@string/mediaplaybacklabel"
60 android:taskAffinity=""
61 android:launchMode="singleTask"
62 android:clearTaskOnLaunch="true"
63 android:excludeFromRecents="true" >
64 <intent-filter>
65 <action android:name="android.intent.action.VIEW" />
66 <category android:name="android.intent.category.DEFAULT" />
67 <data android:scheme="content"/>
68 <data android:scheme="file"/>
69 <data android:mimeType="audio/*"/>
70 <data android:mimeType="application/ogg"/>
71 <data android:mimeType="application/x-ogg"/>
72 </intent-filter>
73 <intent-filter>
74 <action android:name="com.android.music.PLAYBACK_VIEWER" />
75 <category android:name="android.intent.category.DEFAULT" />
76 </intent-filter>
77 </activity>
78 <activity android:name="StreamStarter" android:theme="@android:style/Theme.Dialog" >
79 <intent-filter>
80 <action android:name="android.intent.action.VIEW" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <category android:name="android.intent.category.BROWSABLE" />
83 <data android:scheme="http" />
84 <data android:mimeType="audio/mp3"/>
85 <data android:mimeType="audio/x-mp3"/>
86 <data android:mimeType="audio/mpeg"/>
87 <data android:mimeType="audio/mp4"/>
The Android Open Source Projecta857e7a2008-12-17 18:05:59 -080088 <data android:mimeType="audio/mp4a-latm"/>
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -070089 </intent-filter>
90 </activity>
91 <activity android:name="ArtistAlbumBrowserActivity">
92 <intent-filter>
93 <action android:name="android.intent.action.PICK" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <data android:mimeType="vnd.android.cursor.dir/artistalbum"/>
96 </intent-filter>
97 </activity>
98 <activity android:name="AlbumBrowserActivity">
99 <intent-filter>
100 <action android:name="android.intent.action.PICK" />
101 <category android:name="android.intent.category.DEFAULT" />
102 <data android:mimeType="vnd.android.cursor.dir/album"/>
103 </intent-filter>
104 </activity>
105 <activity android:name="NowPlayingActivity">
106 <intent-filter>
107 <action android:name="android.intent.action.PICK" />
108 <category android:name="android.intent.category.DEFAULT" />
109 <data android:mimeType="vnd.android.cursor.dir/nowplaying"/>
110 </intent-filter>
111 </activity>
112 <activity android:name="TrackBrowserActivity">
113 <intent-filter>
114 <action android:name="android.intent.action.EDIT" />
115 <action android:name="android.intent.action.PICK" />
116 <category android:name="android.intent.category.DEFAULT" />
117 <data android:mimeType="vnd.android.cursor.dir/track"/>
118 </intent-filter>
119 </activity>
120 <activity android:name="QueryBrowserActivity"
121 android:theme="@android:style/Theme.NoTitleBar">
122 <intent-filter>
123 <action android:name="android.intent.action.SEARCH" />
124 <category android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
The Android Open Source Projectc4a91122009-02-19 10:57:36 -0800126 <meta-data
127 android:name="android.app.searchable"
128 android:resource="@xml/searchable"
129 />
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -0700130 </activity>
131 <activity android:name="PlaylistBrowserActivity" android:label="@string/musicbrowserlabel">
132 <intent-filter>
133 <action android:name="android.intent.action.PICK" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <data android:mimeType="vnd.android.cursor.dir/playlist"/>
136 </intent-filter>
137 <intent-filter>
138 <action android:name="android.intent.action.VIEW" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <data android:mimeType="vnd.android.cursor.dir/playlist"/>
141 </intent-filter>
142 </activity>
143 <activity-alias android:name="PlaylistShortcutActivity"
144 android:targetActivity="PlaylistBrowserActivity"
145 android:label="@string/musicshortcutlabel">
146
147 <intent-filter>
148 <action android:name="android.intent.action.CREATE_SHORTCUT" />
149 <category android:name="android.intent.category.DEFAULT" />
150 </intent-filter>
151
152 </activity-alias>
153 <activity android:name="VideoBrowserActivity"
154 android:taskAffinity="android.task.video"
155 android:label="@string/videobrowserlabel"
156 android:icon="@drawable/app_video">
157 <intent-filter>
158 <action android:name="android.intent.action.PICK" />
159 <category android:name="android.intent.category.DEFAULT" />
160 <data android:mimeType="vnd.android.cursor.dir/video"/>
161 </intent-filter>
162<!--
163 <intent-filter>
164 <action android:name="android.intent.action.MAIN" />
165 <category android:name="android.intent.category.DEFAULT" />
166 <category android:name="android.intent.category.LAUNCHER" />
167 </intent-filter>
168-->
169 </activity>
170 <activity android:name="MediaPickerActivity" android:label="@string/mediapickerlabel">
171<!--
172 <intent-filter>
173 <action android:name="android.intent.action.PICK" />
174 <category android:name="android.intent.category.DEFAULT" />
175 <data android:mimeType="media/*"/>
176 <data android:mimeType="audio/*"/>
177 <data android:mimeType="application/ogg"/>
178 <data android:mimeType="application/x-ogg"/>
179 <data android:mimeType="video/*"/>
180 </intent-filter>
181 <intent-filter>
182 <action android:name="android.intent.action.GET_CONTENT" />
183 <category android:name="android.intent.category.DEFAULT" />
184 <category android:name="android.intent.category.OPENABLE" />
185 <data android:mimeType="media/*"/>
186 <data android:mimeType="audio/*"/>
187 <data android:mimeType="application/ogg"/>
188 <data android:mimeType="application/x-ogg"/>
189 <data android:mimeType="video/*"/>
190 </intent-filter>
191-->
192 </activity>
The Android Open Source Project95c42932009-01-09 17:51:25 -0800193 <activity android:name="MusicPicker" android:label="@string/music_picker_title">
194 <!-- First way to invoke us: someone asks to get content of
195 any of the audio types we support. -->
196 <intent-filter>
197 <action android:name="android.intent.action.GET_CONTENT" />
198 <category android:name="android.intent.category.DEFAULT" />
199 <category android:name="android.intent.category.OPENABLE" />
200 <data android:mimeType="audio/*"/>
201 <data android:mimeType="application/ogg"/>
202 <data android:mimeType="application/x-ogg"/>
203 </intent-filter>
204 <!-- Second way to invoke us: someone asks to pick an item from
205 some media Uri. -->
206 <intent-filter>
207 <action android:name="android.intent.action.PICK" />
208 <category android:name="android.intent.category.DEFAULT" />
209 <category android:name="android.intent.category.OPENABLE" />
210 <data android:mimeType="vnd.android.cursor.dir/audio"/>
211 </intent-filter>
212 </activity>
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -0700213 <activity android:name="CreatePlaylist" android:theme="@android:style/Theme.Dialog" />
214 <activity android:name="RenamePlaylist" android:theme="@android:style/Theme.Dialog" />
215 <activity android:name="WeekSelector" android:theme="@android:style/Theme.Dialog" />
216 <activity android:name="DeleteItems" android:theme="@android:style/Theme.Dialog" />
217 <activity android:name="ScanningProgress" android:theme="@android:style/Theme.Dialog" />
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -0700218 <service android:name="MediaPlaybackService" android:exported="true" />
The Android Open Source Projectd57d6982009-02-10 15:44:05 -0800219
220 <receiver android:name="MediaGadgetProvider">
221 <intent-filter>
222 <action android:name="android.gadget.action.GADGET_UPDATE" />
223 </intent-filter>
224 <meta-data android:name="android.gadget.provider" android:resource="@xml/gadget_info" />
225 </receiver>
The Android Open Source Project6cb8bc92008-10-21 07:00:00 -0700226 </application>
227</manifest>