Android App: How to read get parameters from a custom url scheme?

前端 未结 1 1589
栀梦
栀梦 2020-12-04 15:53

Basically, I have the same question described as in How to implement my very own URI scheme on Android

The answer given there works for me. When the custom url is ca

相关标签:
1条回答
  • 2020-12-04 16:32

    Call getIntent().getData() to retrieve the Uri, then call getQueryParameter("d") on it to get the value of d.

    0 讨论(0)
提交回复
热议问题