SOURCES: remove duplicate entry
[maemo-rb.git] / android / AndroidManifest.xml
blob03cf023fe6cf5538a165708587994896774d484d
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
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">
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>             
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" />
26                                 <action android:name="org.rockbox.ResendTrackUpdateInfo" />
27                         </intent-filter>
28     </service>
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>
36                 </receiver>
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>
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>
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>
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>
80         
81         </application>
83         <uses-sdk android:minSdkVersion="5" />
84         <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
85         <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
86 </manifest>