<?xml version='1.0' encoding='utf-8'?>
|
<manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="io.cordova.hellocordova" xmlns:android="http://schemas.android.com/apk/res/android">
|
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<!-- 程序自启动权限 -->
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true">
|
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
|
<intent-filter android:label="@string/launcher_name">
|
<action android:name="android.intent.action.MAIN" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
</intent-filter>
|
</activity>
|
|
<!-- 程序自启动广播 -->
|
<receiver
|
android:name="com.receivers.MyBootReceiver"
|
android:enabled="true"
|
android:exported="true">
|
<intent-filter android:priority="1000">
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
</intent-filter>
|
</receiver>
|
</application>
|
</manifest>
|