Launching my app using the intent URI

后端 未结 2 1970
清酒与你
清酒与你 2020-12-30 12:41

I know this has been asked a lot of times in StackOverflow already, but I haven\'t quite found a solution yet. My app sends an email with a link in it that when clicked shou

2条回答
  •  执念已碎
    2020-12-30 12:52

    Use zero flag to create URI with your custom scheme. Intent.URI_INTENT_SCHEME flag forces "intent:" scheme (and overall intent URI crazy syntax) to be used.

    String customUri = customIntent.toUri(0);
    

提交回复
热议问题