Languages

Menu
Sites
Language
Tizen 2.3 Telephony API

Hello,

Tizen 2.2.0 SDK -> Telephony API supports to get incoming and outgoing call number.

https://developer.tizen.org/dev-guide/2.2.0/?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Ftutorials%2Ftelephony_tutorial%2Ftelephony_tutorial.htm

 

Why Tizen 2.3.0 SDK does not support?

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/telephony/telephony.htm

 

I need to make notification with name and number of the caller during incoming and outgoing call in Tizen 2.3.0. How can I do that?
Is it possible to  implement the code of Telephony API of Tizen 2.2.0 using Tizen 2.3.0?

 

Thanks

Seemanta Saha

Responses

6 Replies
Alex Dem

Hi,
I did not find api to extract call number for Native. Looks like impossible. Also I have checked using telephony_call_get_voice_call_state() method on Kiran device. In accordance with dev-guide it returns TELEPHONY_CALL_STATE_CONNECTING from telephony_call_state_e structure for both incoming and outgoing calls and TELEPHONY_CALL_STATE_CONNECTED after call has been accepted.
Alexey.

Alex Dem

Hi,
just fyi: for Web apps there is possible to use CallHistory api (you could add addChangeListener this way):
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.device.apireference/tizen/callhistory.html#CallHistory::addChangeListener

and extarct the number from CallHistoryEntry object  (you should get remoteParties[0].remoteParty) which comes into registered callbcks of CallHistoryChangeCallback.onadded & onchanged

All I have found regarding how to extract call number.
There is ready example CallLog also in Web app examples of SDK.
Alexey.

Seemanta Saha

Thank Alex.

I also tried with CallHistory from Web Application using API Reference.

But, I need to get the number instantaneously when a incoming call occurs.

In case of CallHistory,  It is not possible. 

Alex Ashirov

Hi,

Unfortunately, currently there is no any other way to get the phone number during the incoming call except workarounds supposed by Alexey above. Hopefully, such API will be added later in the next releases.

Godly T Alias

But if there is no such APIs, how applications like TrueCaller and all is developed in tizen? Is there any other methods by which i can get incoming call number? Thank You

Alex Ashirov

Hi,

Unfortunately, I don’t have good ideas. Probably you can try to create application using Tizen SDK 2.2.1 which supports such API. AFAIK, Tizen platform should support Runtime environment to support existing applications developed based on 2.2.1 OSP. Later when such API will appear in the EFL you will need to rewrite your app using the EFL. Of course, this is not a good idea…