This is my code below. I am getting error class not found Exception and the failure fuction is invoked. Please help.
var extras = {};
extras[window.plugins.webintent.EXTRA_EMAIL] = "vidya.narasimhan@merceworld.com";
extras[window.plugins.webintent.EXTRA_TEXT] = "hello testing";
console.log('Mail Form: starting webintent activity ');
window.plugins.webintent.startActivity(
{
action: window.plugins.webintent.ACTION_SEND,
type: 'application/octet-stream',
extras: extras
},
function() {
console.log('Mail Form: sendMail success via Android Intent');
},
function(e) {
console.log('Mail Form: sendMail failed via Android Intent:' + e);
}
);
This is my code below. I am getting error class not found Exception and the failure fuction is invoked. Please help.
var extras = {};
extras[window.plugins.webintent.EXTRA_EMAIL] = "vidya.narasimhan@merceworld.com";
extras[window.plugins.webintent.EXTRA_TEXT] = "hello testing";
console.log('Mail Form: starting webintent activity ');
window.plugins.webintent.startActivity(
{
action: window.plugins.webintent.ACTION_SEND,
type: 'application/octet-stream',
extras: extras
},
function() {
console.log('Mail Form: sendMail success via Android Intent');
},
function(e) {
console.log('Mail Form: sendMail failed via Android Intent:' + e);
}
);