Start Activity Using Custom Action

前端 未结 4 1008
囚心锁ツ
囚心锁ツ 2020-11-28 04:58

I am looking to start an activity in my app using a custom action. I have found a few answers but everything I try it throws java.lang.RuntimeException saying N

4条回答
  •  误落风尘
    2020-11-28 05:46

    I think what you need is to add a default category to your intent-filter, eg.

      
        
            
            
        
    
    

    see this answer for more info.

提交回复
热议问题