Thomas Martitz | 240923a | 2010-08-02 20:34:47 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Thomas Martitz | 540dd9c | 2010-11-05 23:31:27 +0000 | [diff] [blame] | 3 | package="org.rockbox" |
| 4 | android:versionCode="1" |
| 5 | android:versionName="1.0" |
| 6 | android:installLocation="auto"> |
| 7 | <application android:icon="@drawable/launcher" |
| 8 | android:label="@string/app_name" |
| 9 | android:debuggable="true"> |
| 10 | |
| 11 | <activity android:name=".RockboxActivity" |
| 12 | android:launchMode="singleTask" |
| 13 | android:label="@string/app_name" |
| 14 | android:screenOrientation="portrait" |
| 15 | android:configChanges="orientation|keyboardHidden" > |
| 16 | <intent-filter> |
| 17 | <action android:name="android.intent.action.MAIN" /> |
| 18 | <category android:name="android.intent.category.LAUNCHER" /> |
| 19 | </intent-filter> |
| 20 | </activity> |
| 21 | |
Antoine Cellerier | 64cf0dd | 2011-03-09 18:04:05 +0000 | [diff] [blame] | 22 | <service android:name=".RockboxService"> |
| 23 | <intent-filter> |
| 24 | <action android:name="android.intent.action.MAIN" /> |
| 25 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
Antoine Cellerier | fd7375c | 2011-03-09 18:46:55 +0000 | [diff] [blame] | 26 | <action android:name="org.rockbox.ResendTrackUpdateInfo" /> |
Antoine Cellerier | 64cf0dd | 2011-03-09 18:04:05 +0000 | [diff] [blame] | 27 | </intent-filter> |
| 28 | </service> |
Thomas Martitz | 540dd9c | 2010-11-05 23:31:27 +0000 | [diff] [blame] | 29 | |
| 30 | <receiver android:name=".Helper.MediaButtonReceiver$MediaReceiver" |
| 31 | android:enabled="true" |
| 32 | android:exported="true"> |
| 33 | <intent-filter> |
| 34 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
| 35 | </intent-filter> |
Thomas Martitz | 49f1ec8 | 2010-10-31 15:32:57 +0000 | [diff] [blame] | 36 | </receiver> |
Thomas Martitz | 240923a | 2010-08-02 20:34:47 +0000 | [diff] [blame] | 37 | |
Antoine Cellerier | c0c769c | 2011-01-29 20:47:32 +0000 | [diff] [blame] | 38 | <!-- Widgets --> |
| 39 | <receiver android:name=".widgets.RockboxWidgetProvider4x1" |
| 40 | android:label="@string/appwidget_label_4x1"> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 43 | <action android:name="org.rockbox.TrackUpdateInfo" /> |
| 44 | <action android:name="org.rockbox.TrackFinish" /> |
| 45 | <action android:name="org.rockbox.UpdateState" /> |
| 46 | </intent-filter> |
| 47 | <meta-data android:name="android.appwidget.provider" |
| 48 | android:resource="@xml/appwidget_provider_4x1" /> |
| 49 | </receiver> |
| 50 | |
| 51 | <receiver android:name=".widgets.RockboxWidgetProvider2x2" |
| 52 | android:label="@string/appwidget_label_2x2"> |
| 53 | <intent-filter> |
| 54 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 55 | <action android:name="org.rockbox.TrackUpdateInfo" /> |
| 56 | <action android:name="org.rockbox.TrackFinish" /> |
| 57 | <action android:name="org.rockbox.UpdateState" /> |
| 58 | </intent-filter> |
| 59 | <meta-data android:name="android.appwidget.provider" |
| 60 | android:resource="@xml/appwidget_provider_2x2" /> |
| 61 | </receiver> |
| 62 | |
Thomas Martitz | f1e3f5e | 2011-02-26 21:00:38 +0000 | [diff] [blame] | 63 | <receiver android:name=".widgets.RockboxWidgetProvider3x3" |
| 64 | android:label="@string/appwidget_label_3x3"> |
| 65 | <intent-filter> |
| 66 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 67 | <action android:name="org.rockbox.TrackUpdateInfo" /> |
| 68 | <action android:name="org.rockbox.TrackFinish" /> |
| 69 | <action android:name="org.rockbox.UpdateState" /> |
| 70 | </intent-filter> |
| 71 | <meta-data android:name="android.appwidget.provider" |
| 72 | android:resource="@xml/appwidget_provider_3x3" /> |
| 73 | </receiver> |
Antoine Cellerier | c0c769c | 2011-01-29 20:47:32 +0000 | [diff] [blame] | 74 | <!-- Widget configuration --> |
| 75 | <activity android:name=".widgets.RockboxWidgetConfigure"> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 78 | </intent-filter> |
| 79 | </activity> |
Thomas Martitz | 0cf2cc1 | 2010-11-12 21:04:13 +0000 | [diff] [blame] | 80 | |
Thomas Martitz | 540dd9c | 2010-11-05 23:31:27 +0000 | [diff] [blame] | 81 | </application> |
Thomas Martitz | 49f1ec8 | 2010-10-31 15:32:57 +0000 | [diff] [blame] | 82 | |
Thomas Martitz | 2d0e63e | 2011-08-14 13:23:46 +0000 | [diff] [blame] | 83 | <uses-sdk android:minSdkVersion="5" /> |
Thomas Martitz | 540dd9c | 2010-11-05 23:31:27 +0000 | [diff] [blame] | 84 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> |
Thomas Martitz | 0cf2cc1 | 2010-11-12 21:04:13 +0000 | [diff] [blame] | 85 | <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission> |
Thomas Martitz | 0e0baaa | 2010-09-12 09:50:45 +0000 | [diff] [blame] | 86 | </manifest> |