自定义URL方案通过默认浏览器三星不开放 [英] Custom url schemes not opening through default Samsung browser

查看:872
本文介绍了自定义URL方案通过默认浏览器三星不开放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个这样的网址myapp://select?param1=_4O0MSbkzwSzKe_Wcqmm2kSfgmxozRMA2U5dqhPkrfY&param2=cc5646c4e12341020012fc0

I have an url like this myapp://select?param1=_4O0MSbkzwSzKe_Wcqmm2kSfgmxozRMA2U5dqhPkrfY&param2=cc5646c4e12341020012fc0

导航到URL打开我的应用程序。
但是,同样无法在Chrome和三星的默认浏览器工作,它会打开搜索屏幕
它工作正常在Firefox和Opera。

Navigating into the url opens my app. But the same does not work on chrome and Samsung default browser and it opens the search screen It works fine on firefox and opera.

我检查链接<一个href=\"http://stackoverflow.com/questions/20239133/samsung-devices-not-opening-app-from-browser-url-scheme-in-android\">Samsung设备无法从浏览器的URL方案在android系统打开的应用程序。

I checked links Samsung devices not opening app from browser url scheme in android.

但开放使用javascript:windows.location =myurl也不起作用。 (这适用于Chrome,但)。

But opening with javascript:windows.location='myurl' also does not work. (This works on Chrome but).

有一个已经修正了 https://开头code.google.com / p /铬/问题/细节?ID = 181186 的铬。

There is an already fixed bug https://code.google.com/p/chromium/issues/detail?id=181186 on chromium.

感谢和Regrards,
Saurav

Thanks and Regrards, Saurav

推荐答案

您可以尝试<$c$c>'intent://view?xxx=123#Intent;package=com.example.myapp;scheme=myapp;launchFlags=abc;end;'当正常'的myapp:// XX'。办法很短的时间延迟后没有工作结果
测试通过了window.location或链接自定义事件,或由一个IFRAME的src一个触发。至少有一个是适合你的浏览器。

You can try 'intent://view?xxx=123#Intent;package=com.example.myapp;scheme=myapp;launchFlags=abc;end;' when normal 'myapp://xx?' way did not work after a short time delay.
Test to trigger via window.location or link custom event, or iframe's src one by one. At least one is suitable for your browser. lol

这篇关于自定义URL方案通过默认浏览器三星不开放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆