summaryrefslogtreecommitdiff
path: root/android/AndroidManifest.xml
blob: c32f76c0d0802a140df7ed2d0860ec5e33a34681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="org.rockbox"
	android:versionCode="1"
	android:versionName="1.0"
	android:installLocation="auto">
	<application android:icon="@drawable/launcher" 
		android:label="@string/app_name" 
		android:debuggable="true">

		<activity android:name=".RockboxActivity"
			android:launchMode="singleTask"
			android:label="@string/app_name"
			android:screenOrientation="portrait"
			android:configChanges="orientation|keyboardHidden" >
			<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
			</intent-filter>
		</activity>		

		<service android:name=".RockboxService">
			<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<action android:name="android.intent.action.MEDIA_BUTTON" />
				<action android:name="org.rockbox.ResendTrackUpdateInfo" />
			</intent-filter>
    </service>

		<receiver android:name=".Helper.MediaButtonReceiver$MediaReceiver"
			android:enabled="true"
			android:exported="true">
			<intent-filter>
				<action android:name="android.intent.action.MEDIA_BUTTON" />
			</intent-filter>
		</receiver>

    <!-- Widgets -->
    <receiver android:name=".widgets.RockboxWidgetProvider4x1"
              android:label="@string/appwidget_label_4x1">
      <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        <action android:name="org.rockbox.TrackUpdateInfo" />
        <action android:name="org.rockbox.TrackFinish" />
        <action android:name="org.rockbox.UpdateState" />
      </intent-filter>
      <meta-data android:name="android.appwidget.provider"
                 android:resource="@xml/appwidget_provider_4x1" />
    </receiver>

    <receiver android:name=".widgets.RockboxWidgetProvider2x2"
              android:label="@string/appwidget_label_2x2">
      <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        <action android:name="org.rockbox.TrackUpdateInfo" />
        <action android:name="org.rockbox.TrackFinish" />
        <action android:name="org.rockbox.UpdateState" />
      </intent-filter>
      <meta-data android:name="android.appwidget.provider"
                 android:resource="@xml/appwidget_provider_2x2" />
    </receiver>

    <receiver android:name=".widgets.RockboxWidgetProvider3x3"
              android:label="@string/appwidget_label_3x3">
      <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        <action android:name="org.rockbox.TrackUpdateInfo" />
        <action android:name="org.rockbox.TrackFinish" />
        <action android:name="org.rockbox.UpdateState" />
      </intent-filter>
      <meta-data android:name="android.appwidget.provider"
                 android:resource="@xml/appwidget_provider_3x3" />
    </receiver>
    <!-- Widget configuration -->
    <activity android:name=".widgets.RockboxWidgetConfigure">
      <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
      </intent-filter>
    </activity>
	
	</application>

	<uses-sdk android:minSdkVersion="4" />
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
	<uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
</manifest>