I want to open Google play games app on my mobile from my android phonegap build application using WEBINTENT plugin.
window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
url: 'facebook://'
},
function() {alert('success')},
function(errorMsg) {alert('Failed to startActivity errorMsg=' + errorMsg)}
);
},false);
This code works well to open facebook. How to use it to open play games application.? Thanks.