
我在清单中为ResultPayActivity定义了意图过滤器,如下所示:
<activity androID:name=".ResultPayActivity"androID:screenorIEntation="portrait"><intent-filter> <action androID:name="androID.intent.action.VIEW" /> <category androID:name="androID.intent.category.DEFAulT" /> <category androID:name="androID.intent.category.broWSABLE" /> <data androID:scheme="sanduqcheh" /></intent-filter>我的应用程序包是:“ com.example.pegah_system.sanduqchehproject”.此应用程序已安装.
现在,我想通过此深层链接在浏览器中调用应用:
intent:// 1#Intent; scheme = sanduqcheh; package = com.example.pegah_system.sanduqchehproject; end
但是,当我在浏览器中致电,无法执行应用程序,并且无法在Google.com上搜索网址
我已经阅读过其他有关此问题,但我的问题尚未解决.
我测试了它,但是我遇到了同样的问题:launch-android-application-from-browser-using-uri
解决方法:
我认为这值得一提:
Deep links will not open your app if you type the link on your browser. You must click on the link in order to launch your app
我浪费了将近一个小时的时间来尝试调试完美的代码,后来发现问题出在我一直在输入链接!
总结以上是内存溢出为你收集整理的无法通过浏览器android中的深层链接打开应用全部内容,希望文章能够帮你解决无法通过浏览器android中的深层链接打开应用所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)