Android Things intent for boot

后端 未结 6 1907
半阙折子戏
半阙折子戏 2021-02-08 15:48

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:11

    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.

提交回复
热议问题