塞班平台:关于呼叫转移的一个问题。

iOS 码拜 9年前 (2015-05-09) 772次浏览 0个评论
 

想提取手机设置的呼叫转移信息,如转移到了哪个号码上,提取出来。

50分
这是iphone区阿….

TBuf<5> area;
area.Append(_L("987"));         // area code max 5 digits
TInt delaytime = 10;                    // delay in seconds
CMSCFWrapper* iWrapper = CMSCFWrapper::NewL();        // construct the wrapper
//iLogger.Write(_L("CPhCltUssd::NewL"));
CleanupStack::PushL( iWrapper );
iWrapper->SetCallForwardingL(area,          		CMSCFWrapper::ECallForwardingBusy, delaytime);
//iLogger.Write(_L("SetCallForwardingL"));
// set call diverting on for all calls
// If error occurs, this method leaves
// Handle leaving eg. by trapping
CleanupStack::PopAndDestroy(iWrapper);

CMSCFWrapper这个类据说可以,不过这好像是3rd mr的插件….
另外据说这个要花钱跟Symbian买API,才可以实践….
等您结贴中…..

#include mscfwrapper.h
Link against mscfwrapper.lib
 
TBuf<5> areacode;
areacode.Append(_L("988"));                 
TInt delaytime = 20;                   
iWrapper = CMSCFWrapper::NewL();        
iWrapper->SetCallForwardingL(areacode, 
CMSCFWrapper::ECallForwardingOff, delaytime);                                   // set call diverting on for all calls
delete iWrapper;

再一段google到的代码


CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明塞班平台:关于呼叫转移的一个问题。
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!