Finally found my old code of when I was using webintent :
CDV.WEBINTENT.launchActivity("com.demo.app1",
function() {
console.log("Activity started");
},
function() {
console.log("Error starting activity");
}
);
There are two different gits for webintent referenced in phonegap build for phonegap 3.x, no idea what the differences are (and the first one is the one I was using) :
And an other usefull plugin is the webavailability plugin that lets you know if the other app is installed before you try to launch it : https://github.com/ohh2ahh/AppAvailability.git
I stopped using webintent because I needed to be able to switch to an app if it was already started and not relanch it.
EDIT:
oops again, launchactivity was a function I added to the plugin... will check later how I was doing before this.