这是我定义自动启动接收器的方法:
<receiver android:name=".receivers.AutoStartReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter></receiver>
注意
android.intent.action.BOOT_COMPLETED

这是我定义自动启动接收器的方法:
<receiver android:name=".receivers.AutoStartReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter></receiver>
注意
android.intent.action.BOOT_COMPLETED