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