1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.tests.appwidgethost"> 3 <uses-permission android:name="android.permission.VIBRATE" /> 4 5 <application> 6 <activity android:name="AppWidgetHostActivity" android:label="_AppWidgetHost"> 7 <intent-filter> 8 <action android:name="android.intent.action.MAIN" /> 9 <category android:name="android.intent.category.DEFAULT" /> 10 <category android:name="android.intent.category.LAUNCHER" /> 11 </intent-filter> 12 </activity> 13 <activity android:name="TestAppWidgetConfigure" android:label="Configure TestAppWidgetProvider"> 14 <intent-filter> 15 <action android:name="android.intent.action.MAIN" /> 16 <category android:name="android.intent.category.DEFAULT" /> 17 <category android:name="android.intent.category.LAUNCHER" /> 18 </intent-filter> 19 </activity> 20 21 <!-- BEGIN_INCLUDE(AppWidgetProvider) --> 22 <receiver android:name="TestAppWidgetProvider" 23 android:label="@string/oh_hai" 24 android:icon="@drawable/oh_hai_icon" 25 > 26 <intent-filter> 27 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 28 </intent-filter> 29 <meta-data android:name="android.appwidget.provider" 30 android:resource="@xml/appwidget_info" 31 /> 32 </receiver> 33 <!-- END_INCLUDE(AppWidgetProvider) --> 34 35 </application> 36 </manifest> 37