网上找了好多开机启动的程序,好多经过测试都没有启动,没有达到预期的效果,本人也是对android了解一二,自己动手做了一个开机启动程序。开机启动套用vue页面。
1、配置文件:AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sibd.test3" android:installLocation="internalOnly">
<application
android:allowBackup="true"
android:icon="@mipmap/kicu"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity android:name=".MainActivity" android:screenOrientation="landscape" >
<intent-filter>
<action android:name="