目前做一個Ap
要在被Install完畢後
收到一個Broadcast
如果單安裝完AP
尤其他AP收一般是用
android.intent.action.PACKAGE_ADDED
android.intent.action.PACKAGE_INSTALL
但要讓自己起來
目前Survey到是
android.intent.action.USER_PRESENT
但這要在螢幕解鎖
有沒有其他更好的方法?
p.s.
AP是一個System Service 只有init一個BroadcastReceiver
補充 目前找到 FLAG_INCLUDE_STOPPED_PACKAGES flag
可是要怎麼加在System Intent