언어 설정

Menu
Sites
Language
Which TIZEN API to use making voice calls and send SMS

Hi TIZEN Team,

We're working on Automated test cases for Voice Call and SMS.

Which TIZEN API can I  use to make voice call and send SMS not using UI ? 

Here is the test scenario.

Setup:

2 phones are registered AT&T network.

Test for Voice Calls

1. Initiate voice call from Phone A to Phone B

2. Auto answered incoming call and stay connected for 30 secs

3. End Voice call from Phone A

4. Repeat step 1 to 3 for certain iterations.

Test for SMS

1. Send SMS with short messsage from Phone A to Phone B

2. Open SMS message

3. Delete SMS message

4. Repeat step 1 to 3 for certain iterations.

Is there any documentation available for such telephony functions ?

Thanks

John

 

 

 

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

6 댓글
dhirku
For SMS: Using native : Sending, Reading, shall be possible .... not sure about deleting check - > https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fmessaging%2Fmessaging.htm Using Web : You shall be able to perform all such operation check - > https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fguide%2Fcommunication_guide%2Fmessaging.htm Voice call seems difficult to automate completely .... you can have a look at "Tizen::Telephony" class and "Phone AppControl" "Phone AppControl" shall allow you to make call.
John Baik
I looked PhoneAppsControl, which will do make voice call. https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fapp%2Fappcontrol_call.htm Can I pick up incoming call from PhoneAppControl as well? If I can, what will be the operationId ? :: FindAppControlN (L"tizen.phone", L"http://tizen.org/appcontrol/operation/???") Thanks John
dhirku
PhoneAppControl can not pick incoming calls
John Baik
Is there any way to pick incoming call ? For example, simulate answer key press on Apps
Pushpa G
hello:), When the application receives an incoming call, the OnBackground() event handler is called, and the decision on what to do is made in there. Also refer to https://developer.tizen.org/help/topic/org.tizen.gettingstarted/html/dev_env/generating_incoming_calls_messages.htm
Pushpa G
Also refer to Tizen IDE>Help>Help contents>Tizen Native App Programming > Programming Guide > App: Controlling Your Application>Application Controls