Hello,
I am trying to initiate a call from a gear2 when an event is triggered (or a button clicked).
Here is the code I used :
console.log("Preparing to launch the call"); var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/call","tel:0102030405", null, null, null); tizen.application.launchAppControl(appControl,null, function(){console.log("launch appControl succeeded");}, function(e){console.log("launch appControl failed. Reason: " + e.name);}, null);
Here is the log I am getting :
js/main.js (103) :Preparing to launch the dialer..
js/main.js (109) :launch appControl failed. Reason: NotFoundError
What am I doing wrong ? I put the application control privilege in the config.xml like this :
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>
But I am still getting this error.
Thank you in advance :)
M.