What are intent-filters in Android?

后端 未结 10 2218
渐次进展
渐次进展 2020-12-01 02:34

In my android app, I wanted to start an activity \'B\' from initial activity \'A\'. I have created classes for both of these. However when using following code to start B, I

10条回答
  •  遥遥无期
    2020-12-01 03:27

    First change the xml, mark your second activity as DEFAULT

    
            
                
                
            
        
    

    Now you can initiate this activity using StartActivity method.

提交回复
热议问题