Boot Receiver not working

前端 未结 4 1503
青春惊慌失措
青春惊慌失措 2020-12-09 11:43

Manifest:

         
            

        
4条回答
  •  时光取名叫无心
    2020-12-09 11:53

    If you have HTC device you also need to register for "android.intent.action.QUICKBOOT_POWERON". So the entry in manifest should be:

         
             
                
                
             
            
    

    On my HTC, if I turn off the device and turn it on for a while I got QUICKBOOT_POWERON and no BOOT_COMPLETED.

    If I turn off the device and remove the battery for a while - I got BOOT_COMPLETED after start.

提交回复
热议问题