언어 설정

Menu
Sites
Language
How to launch call application from Gear 2 from an app

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

Responses

4 댓글
AVSukhov

Hello,

Do you launch on device or emulator?

Try to use:

<a href="tel:88002006200"><\a>

Nagaraj Shet

i am trying on device

AVSukhov

Hello,

NotFoundError - says that system cannot find the application that matches the specified application control. 

Maybe you need specify ApplicationId in launchAppControl()

 

Nagaraj Shet

How to find ApplicationId  ?