我想从我的Android应用程序共享指向whatsapp的链接[重复]

问题描述 投票:0回答:1

我借助WebView将网站转变为android应用程序,我想共享与WhatsApp的产品链接,但是每次我在WhatsApp上单击共享按钮时,android应用程序都显示错误,但在网站上运行正常enter image description here

android communication whatsapp
1个回答
1
投票

This article可能会帮助您。虽然我看不到您的代码可以肯定,但似乎您具有正确的WhatsApp://网址前缀,但可能需要添加try / catch方法或某种形式的网址方案处理程序。

© www.soinside.com 2019 - 2024. All rights reserved.