android.intent.action.BOOT_COMPLETED在V2.3.3无效

http://stackoverflow.com/questions/9682660/boot-completed-not-called-on-honeycomb-after-export

Applications installed on 3.1 and later are in the stopped state after installation. They have to be explicitly started by the user at least once to get out of that .Applications in stopped state don't receive any broadcast intents, including BOOT_COMPLETED.

是醬的~  android官方網站有寫到,3.1以上的版本不能讓狀態為stop的 app去接收任何的 broadcast intents,除非讓user至少點擊一次。 要不然就把apk 放到 /system/app/底下, 我想android是為了避免惡意程式在開機的時候去執行某些程序吧。  有錯請指教 謝謝~

你可能感兴趣的:(android.intent.action.BOOT_COMPLETED在V2.3.3无效)