| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.example.johnnysun.myapplication" > |
| |
| <application |
| android:allowBackup="true" |
| android:icon="@mipmap/ic_launcher" |
| android:label="@string/app_name" |
| android:supportsRtl="true" |
| android:theme="@style/AppTheme" > |
| <receiver android:name="MyReceiver"> |
| <intent-filter> |
| <action android:name="android.intent.action.BATTERY_CHANGED" /> |
| <action android:name="android.intent.action.BATTERY_LOW" /> |
| <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| </intent-filter> |
| </receiver> |
| <activity |
| android:name=".MainActivity" |
| android:label="@string/app_name" |
| android:theme="@style/AppTheme.NoActionBar" > |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| </activity> |
| </application> |
| |
| </manifest> |