Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (C) 2011 The Android Open Source Project |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 3 | |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 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 |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 7 | |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 9 | |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 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 | --> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 18 | package="com.example.android.musicplayer" |
| 19 | android:versionCode="1" |
| 20 | android:versionName="1.0"> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 21 | |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 22 | <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14" /> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 23 | |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 24 | <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 Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 29 | <activity android:name=".MainActivity" |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 30 | android:label="@string/app_title" |
| 31 | android:theme="@android:style/Theme.Black.NoTitleBar"> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 32 | <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 Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 40 | <action android:name="com.example.android.musicplayer.action.TOGGLE_PLAYBACK" /> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 41 | <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 Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
| 59 | </intent-filter> |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 60 | </receiver> |
Roman Nurik | 5986e12 | 2011-09-30 18:02:10 -0700 | [diff] [blame] | 61 | |
Bruno Oliveira | b30a301 | 2011-06-07 01:09:21 -0400 | [diff] [blame] | 62 | </application> |
| 63 | </manifest> |