I know this may is a duplicate question, i have tried all answers from stack, but non has a complete answer.
Most answers just give how to start an activity but no h
Hi you can use this plugin
cordova plugin add sevensky-cordova-plugin-intent
Usage :
document.getElementById("btn_device_name").addEventListener("click", test);
function test() {
var obj = new Object();
obj.name = "Ahmad"; //bundle string extra 1 string
obj.family = "Aghazadeh"; //bundle string extra 2
intentPlugin.startActivity("com.sevensky.test", "TestActivity", JSON.stringify(obj));
}