Make a link in the Android browser start up my app?

前端 未结 9 1133
小鲜肉
小鲜肉 2020-11-21 22:06

Is it possible to make a link such as:

click me!

cause my Anton app to start

9条回答
  •  悲哀的现实
    2020-11-21 22:48

    I think you'll want to look at the element of your Mainfest file. Specifically, take a look at the documentation for the sub-element.

    Basically, what you'll need to do is define your own scheme. Something along the lines of:

    
        
        
        
         <--Not positive if this one is needed
        ...
    
    

    Then you should be able to launch your app with links that begin with the anton: URI scheme.

提交回复
热议问题