How to launch call application from Gear 2 from an app

How to launch call application from Gear 2 from an app

BY 25 Jul 2014 Web Application Development

I am trying to launch call appication from a web app in gear 2

I have added below  privilege

 

 <tizen:privilege name=”http://tizen.org/privilege/application.launch”/>

console.log(“inside function”);

    var appControl = new tizen.ApplicationControl(
            “http://tizen.org/appcontrol/operation/call”, “tel:+919000000000”);

    tizen.application.launchAppControl(appControl, null, function a() {
        console.log(“success”);
    }, function b(e) {
        console.log(e.name);
    }, null);

 

 

OUTPUT:

Going to failure case with below error

NotFoundError

Written by