0

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 を開くのにうまく機能します。それを使用してプレイゲームアプリケーションを開く方法.? ありがとう。

4

1 に答える 1