首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Symbian >

symbian来电截取代码解决方案

2012-01-15 
symbian来电截取代码谁有symbian来电截取代码?[解决办法]C/C++ codeTBuf100 CallerNumber if(iCurrentS

symbian来电截取代码
谁有symbian来电截取代码?

[解决办法]

C/C++ code
TBuf<100> CallerNumber; if(iCurrentStatus.iStatus == CTelephony::EStatusRinging|| iCurrentStatus.iStatus == CTelephony::EStatusDialling){    CTelephony::TRemotePartyInfoV1 RemInfoUse;    CTelephony::TCallInfoV1           CallInfoUse;    CTelephony::TCallSelectionV1   CallSelectionUse;            CallSelectionUse.iLine = CTelephony::EVoiceLine;    CallSelectionUse.iSelect = CTelephony::EInProgressCall;            CTelephony::TRemotePartyInfoV1Pckg     RemParty(RemInfoUse);    CTelephony::TCallInfoV1Pckg         CallInfo(CallInfoUse);    CTelephony::TCallSelectionV1Pckg     CallSelection(CallSelectionUse);                    iTelephony->GetCallInfo(CallSelection,CallInfo,RemParty);            if(iCurrentStatus.iStatus == CTelephony::EStatusRinging)    {                CallerNumber.Copy(RemInfoUse.iRemoteNumber.iTelNumber);    }    else if(iCurrentStatus.iStatus == CTelephony::EStatusDialling)    {                    CallerNumber.Copy(CallInfoUse.iDialledParty.iTelNumber);    }}
[解决办法]
Symbian OS v9.1 » Symbian OS guide » Telephony » Using the Telephony ISV API » How to detect and answer a call
Symbian OS v9.1 » Symbian OS guide » Telephony » Using the Telephony ISV API » How to request notification when information changes

[解决办法]
参考:
http://topic.csdn.net/u/20080124/00/9c243d88-dbbb-42ba-895a-20a8b2d843fd.html

热点排行