Xml文件  |  14行  |  564 B

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.tests.appwidgetprovider">
    <uses-permission android:name="android.permission.VIBRATE" />

    <application>
        <receiver android:name="TestAppWidgetProvider">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
        </receiver>
    </application>
</manifest>