只有在Manifest文件中静态注册播后,应用首先会执行Application的oncreate函数,然后在执行onReceiver函数。 Log: 06-13 11:33:04.879 2478 2478 I AppApplication: onCreate 06-13 11:33:04.889 2478 2478 I BootReceiver: action=android.intent.action.BOOT_COMPLETED