summaryrefslogtreecommitdiffstats
path: root/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2011-01-29 20:47:32 +0000
committerAntoine Cellerier <dionoea@videolan.org>2011-01-29 20:47:32 +0000
commitc0c769c5a86c56c2ab2c9e88515a64da98575182 (patch)
tree24e84b2d146bf3da39d93983d5656061e3c88ecb /android/AndroidManifest.xml
parente9749d1b93f23b3bc36305ad1d39ca5e5c0cb3a8 (diff)
downloadrockbox-c0c769c5a86c56c2ab2c9e88515a64da98575182.tar.gz
rockbox-c0c769c5a86c56c2ab2c9e88515a64da98575182.tar.bz2
rockbox-c0c769c5a86c56c2ab2c9e88515a64da98575182.zip
Add widgets to android port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29170 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/AndroidManifest.xml')
-rw-r--r--android/AndroidManifest.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 0eab90ff81..41a662fdfa 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -29,6 +29,37 @@
</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>
+
+ <!-- Widget configuration -->
+ <activity android:name=".widgets.RockboxWidgetConfigure">
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
+ </intent-filter>
+ </activity>
</application>