Hi,
I wrote the Cordova.exe code in a function hello(). The control is going inside the function but unable to call the cordova.exe.
The alert is coming but the success alert/error alert is not coming after that.
Have implemented the contacts.cs and config.xml according to the cordova functionality.
Please help if any other settings are missed???
Thanks,
Divyaravind.
I wrote the Cordova.exe code in a function hello(). The control is going inside the function but unable to call the cordova.exe.
Code:
function openContact(successCallback, errorCallback,options){
alert('contacts...');
cordova.exec(sayHelloSuccess, sayHelloFailure, "Contacts", "pickContact",[ options ]);
}
function sayHelloSuccess(data) {
alert('sucess:'+data);
$('#NameInput').value(data);
$('#abc').text(data);
}
function sayHelloFailure(data) {
alert('error' + JSON.stringify(data));
Have implemented the contacts.cs and config.xml according to the cordova functionality.
Please help if any other settings are missed???
Thanks,
Divyaravind.