开发者

How to open a url with a #token in the browser

开发者 https://www.devze.com 2023-03-26 07:14 出处:网络
When i do this startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://myapplication.com#myToken\")));

When i do this

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://myapplication.com#myToken")));

'myToken' is lost.

开发者_开发百科

Is this normal?

Is there a workaround ?


You need a slash before the hash.

0

精彩评论

暂无评论...
验证码 换一张
取 消