Start activity on boot

前端 未结 6 1170
梦毁少年i
梦毁少年i 2020-12-06 03:19

I\'d like to start my app just after the phone boot. Apparently the app is started after the boot but it immediately crashes (just to be clear the app normally works fine).

6条回答
  •  甜味超标
    2020-12-06 03:54

    I would like to add the whole manifest file which workedv for me on oppo neo 5. And,even take care that some phone requires special access to achieve boot start or other special permissions.So,don't forgot to allow the accesses to your app!!.

    Here's the code -

        
    
        
        
        
    
        
    
        
            
                
                    
                    
                    
                
            
            
            
                
                    
                    
                
            
        
    
    

提交回复
热议问题