Languages

Menu
Sites
Language
Appcontrol (Phone call) problem
AppLog("myState : EmergencyCallCommand"); Tizen::Base::String uri = L"tel:+821119"; Tizen::Base::Collection::HashMap extraData; extraData.Construct(); Tizen::Base::String typeKey = L"http://tizen.org/appcontrol/data/call/type"; Tizen::Base::String typeVal = L"voice"; extraData.Add(&typeKey, &typeVal); Tizen::App::AppControl* pAc = Tizen::App::AppManager::FindAppControlN(L"tizen.call",L"http://tizen.org/appcontrol/operation/call"); if (pAc) { pAc->Start(&uri, null, &extraData, null); delete pAc; } I used this code my service program(background) for Phonecall, but, not effect... I check AppLog, but it looks no problems... ;-( and i refer this site : https://developer.tizen.org/dev-guide/2.2.0/org.tizen.native.apireferenc... what is the problem... i don't know why this method can not effect... please help... thanks
Edited by: 규민 고 on 28 Aug, 2014
View Selected Answer

Responses

6 Replies
Alex Ashirov

Hi,

Please note that you need http://tizen.org/privilege/application.launch privilege to use app controls.

규민 고
i give to right privilege in my service application (backgroung) but not work...
Alex Dem

Hi,
I was able to launch 'dialer application' using your code snippet on M0&M1 devices from any app (service or Ui).
Alexey.

규민 고
Function you be work if necessary to insert the USIM Maybe?
Mark as answer
Alex Dem

I have no sim card at all,  but device shows alert over 'dialer app':
"Sim initializtion is failed or not completed".
But dialer app is launched.
Alexey.

규민 고

thanks, after partner certificate patch and give to privilige, it's work very well ;-)