blob: 6e52b6129b54cd11f8ee16fa07ab3723629a42b0 [file] [log] [blame]
Roman Nurik5986e122011-09-30 18:02:10 -07001<!--
2 Copyright (C) 2011 The Android Open Source Project
Bruno Oliveirab30a3012011-06-07 01:09:21 -04003
Roman Nurik5986e122011-09-30 18:02:10 -07004 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
Bruno Oliveirab30a3012011-06-07 01:09:21 -04007
Roman Nurik5986e122011-09-30 18:02:10 -07008 http://www.apache.org/licenses/LICENSE-2.0
Bruno Oliveirab30a3012011-06-07 01:09:21 -04009
Roman Nurik5986e122011-09-30 18:02:10 -070010 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 -->
Bruno Oliveirab30a3012011-06-07 01:09:21 -040016
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Roman Nurik5986e122011-09-30 18:02:10 -070018 package="com.example.android.musicplayer"
19 android:versionCode="1"
20 android:versionName="1.0">
Bruno Oliveirab30a3012011-06-07 01:09:21 -040021
Roman Nurik5986e122011-09-30 18:02:10 -070022 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14" />
Bruno Oliveirab30a3012011-06-07 01:09:21 -040023
Roman Nurik5986e122011-09-30 18:02:10 -070024 <uses-permission android:name="android.permission.INTERNET" />
25 <uses-permission android:name="android.permission.WAKE_LOCK" />
26
27 <application android:icon="@drawable/ic_launcher" android:label="@string/app_title">
28
Bruno Oliveirab30a3012011-06-07 01:09:21 -040029 <activity android:name=".MainActivity"
Roman Nurik5986e122011-09-30 18:02:10 -070030 android:label="@string/app_title"
31 android:theme="@android:style/Theme.Black.NoTitleBar">
Bruno Oliveirab30a3012011-06-07 01:09:21 -040032 <intent-filter>
33 <action android:name="android.intent.action.MAIN" />
34 <category android:name="android.intent.category.LAUNCHER" />
35 </intent-filter>
36 </activity>
37
38 <service android:exported="false" android:name=".MusicService">
39 <intent-filter>
Roman Nurik5986e122011-09-30 18:02:10 -070040 <action android:name="com.example.android.musicplayer.action.TOGGLE_PLAYBACK" />
Bruno Oliveirab30a3012011-06-07 01:09:21 -040041 <action android:name="com.example.android.musicplayer.action.PLAY" />
42 <action android:name="com.example.android.musicplayer.action.PAUSE" />
43 <action android:name="com.example.android.musicplayer.action.SKIP" />
44 <action android:name="com.example.android.musicplayer.action.REWIND" />
45 <action android:name="com.example.android.musicplayer.action.STOP" />
46 </intent-filter>
47 <intent-filter>
48 <action android:name="com.example.android.musicplayer.action.URL" />
49 <data android:scheme="http" />
50 </intent-filter>
51 </service>
52
53 <receiver android:name=".MusicIntentReceiver">
54 <intent-filter>
55 <action android:name="android.media.AUDIO_BECOMING_NOISY" />
56 </intent-filter>
Roman Nurik5986e122011-09-30 18:02:10 -070057 <intent-filter>
58 <action android:name="android.intent.action.MEDIA_BUTTON" />
59 </intent-filter>
Bruno Oliveirab30a3012011-06-07 01:09:21 -040060 </receiver>
Roman Nurik5986e122011-09-30 18:02:10 -070061
Bruno Oliveirab30a3012011-06-07 01:09:21 -040062 </application>
63</manifest>