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

gameloader 2010-08-21 11:49:45
想提取手机设置的呼叫转移信息,如转移到了哪个号码上,提取出来。
...全文
142 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
云瑀 2010-08-21
  • 打赏
  • 举报
回复
#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到的代码
云瑀 2010-08-21
  • 打赏
  • 举报
回复
这是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,才可以实践....
等您结贴中.....

29,030

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧