Code Example
void MainForm::DialCall(String number) { ArrayList* pDataList = null; pDataList = new ArrayList(); pDataList->Construct(); String* pData = null; pData = new String("tel:"+number); pDataList->Add(*pData); String* pData2 = null; pData2 = new String(L"type:voice"); pDataList->Add(*pData2); AppControl* pAc = AppManager::FindAppControlN(APPCONTROL_CALL, ""); if(pAc) { pAc->Start(pDataList, this); delete pAc; } pDataList->RemoveAll(true); delete pDataList; }
Privilege: TELEPHONY



