我通过html链接一直不能成功调用app,以下是我的代码配置
这是我manifest.json下面的andriod配置
> "google": {
"schemes": ["test"],
"packagename": "",/Android应用包名,如io.dcloud.HelloH5/
"keystore": "",/Android应用打包使用的密钥库文件/
"password": "",/Android应用打包使用密钥库中证书的密码/
"aliasname": "",/Android应用打包使用密钥库中证书的别名/
"permissions": ["<uses-permission android:name=\"com.android.launcher.permission.INSTALL_SHORTCUT\"/>", "<uses-permission android:name=\"com.android.launcher.permission.UNINSTALL_SHORTCUT\"/>"]
},
我的监听事件
> document.addEventListener("newintent", function(e) {
console.log('newintent');
});
html
> <a href="test://cccc">点我</a>
1 个回复
Yooye
请问楼主这个问题怎么解决的?我现在想在HBuilder打包的webapp里点击某个按钮后调用手机上已有的原生APP~