Reputation: 3915
So I've been playing around with android app and widgets. have a few things running. but one thing i cant seem to figure out is how to package more than 1 widget. say i wanted to release my set of widgets?
where in the manifests can i do this? thanks
Upvotes: 1
Views: 319
Reputation: 93183
If you are doing a widget you should have something like this in your AndroidManifest
:
<receiver android:name="SomeCoolWidget">
<intent-filter>
<action
android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/something" />
</receiver>
Adding a second receiver should do the trick.
Upvotes: 1