【发布时间】:2015-03-01 07:36:52
【问题描述】:
我想使用 WEBINTENT 插件从我的 android phonegap 构建应用程序在我的手机上打开 Google play 游戏应用程序。
window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
url: 'facebook://'
},
function() {alert('success')},
function(errorMsg) {alert('Failed to startActivity errorMsg=' + errorMsg)}
);
},false);
此代码可以很好地打开 facebook。 如何使用它打开玩游戏应用程序。? 谢谢。
【问题讨论】:
标签: android facebook cordova phonegap-build webintents