Newer
Older
KillProcess / app / src / main / AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="me.bell.killprocess">

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_clear"
        android:label="@string/app_name"
        android:roundIcon="@drawable/ic_clear2"
        android:supportsRtl="true"
        android:name=".App"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity" android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <activity android:name=".AppListActivity" android:screenOrientation="portrait" />


        <!--静态注册广播接收器,这边也就是指小部件-->
        <receiver android:name=".widget.AppWidget">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"></action>
                <action android:name="clean.bell.me"></action>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider"
                       android:resource="@xml/app_widget" /><!--指定资源文件(配置的文件)-->
        </receiver>


    </application>

</manifest>