aboutsummaryrefslogtreecommitdiffstats
path: root/templates/other/AppWidget/root/AndroidManifest.xml.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/AppWidget/root/AndroidManifest.xml.ftl')
-rw-r--r--templates/other/AppWidget/root/AndroidManifest.xml.ftl25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/other/AppWidget/root/AndroidManifest.xml.ftl b/templates/other/AppWidget/root/AndroidManifest.xml.ftl
new file mode 100644
index 0000000..8b96d56
--- /dev/null
+++ b/templates/other/AppWidget/root/AndroidManifest.xml.ftl
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <application>
+
+ <receiver android:name=".${className}" >
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.appwidget.provider"
+ android:resource="@xml/${class_name}_info" />
+ </receiver>
+
+ <#if configurable>
+ <activity android:name=".${className}ConfigureActivity" >
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
+ </intent-filter>
+ </activity>
+ </#if>
+ </application>
+
+</manifest> \ No newline at end of file