Languages

Menu
Sites
Language
make a call

hello
Tell me, please, how can I make a call?

$("#call").click( function(){
    //call
});

 

Edited by: Fedor Efimenko on 20 Nov, 2013

Responses

2 Replies
Raghu Kona

Hi Fedor,

Tizen Web programming does not provide Telephony APIs currently. You can make use of the Native support https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/telephony/telephony.htm

If you just want to link to call you can use 

<a href="tel:+9000009999">Call me</a>

Regards,

Raghu Kona

Raghavendra Reddy Shiva


Also if you need to launch the native dialer application from a web application with a specified number, you can do as below,

function launchDialer()

{

console.log("Preparing to launch the dialer..");

var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/dial","tel:9988776655", null);

tizen.application.launchAppControl(appControl,null,
                                                           function(){console.log("launch appControl succeeded");},
                                                           function(e){console.log("launch appControl failed. Reason: " + e.name);},
                                                           null);
}

In the appControl , the URI should be mentioned in the format as, "tel:your-phone-number" and there is no mime, so mention it as null

Earlier similar post for reference,
https://developer.tizen.org/forums/web-application-development/how-invoke-phone-app-call-number