|
[App引擎]
openApp 不能选择浏览器
[复制链接]
如题,目前使用OpenApp, 小米,vivo 均可以调起系统自带浏览器打开链接,但是荣耀,Oppo, 红米却找不到浏览器选项。
function openApp() {
api.openApp({
androidPkg : 'android.intent.action.VIEW',
mimeType : 'text/html',
uri : 'http://www.**.**
}, function(ret, err) {
var msg = JSON.stringify(ret);
api.alert({
title : 'openApp',
msg : msg,
buttons : ['确定']
已经按照能找到的信息,试过了去掉
androidPkg : 'android.intent.action.VIEW',
mimeType : 'text/html',
或者只去掉mimeType : 'text/html',
均无效
|
|