Android Things intent for boot

后端 未结 6 1968
星月不相逢
星月不相逢 2021-02-08 16:03

When I reboot after deploying an application to Android Things the application doesn\'t start.

Is there a specific intent to start an application on boot?

6条回答
  •  被撕碎了的回忆
    2021-02-08 16:34

    To give Android Things support in app, We need to define main entry point for the system to automatically launch on boot.

    While adding an intent filter for an activity must contain an intent filter that includes both CATEGORY_DEFAULT and IOT_LAUNCHER.

    
    
        
        
        
            
            
        
    
        
        
        
            
            
            
        
    
    

    Check Home activity support for Android Things in android app.

提交回复
热议问题