Intent Filter to Launch My Activity when custom URI is clicked

后端 未结 7 2065
傲寒
傲寒 2020-12-07 14:58

I am trying to allow a URI to be registered to open up with my app. Like the PatternRepository on the Blackberry and the CFBundleURLName/CFBu

7条回答
  •  半阙折子戏
    2020-12-07 15:45

    I just ran into this also, but for standard http: scheme urls. Gmail doesn't appear to add any categories to the Intent. Now I check for BROWSABLE, but I also include a check for !intent.hasCategories() and allow that to go through as well.

提交回复
热议问题