想提取手机设置的呼叫转移信息,如转移到了哪个号码上,提取出来。
解决方案 »
- 求助:ios多线程处理定位问题
- iphone4s越狱了,还能开发吗?
- Round Rect Button 爲什麽不能設置 Set to Back
- 请教一个object-c 内存管理的问题
- Windows上开发iphone app
- openssl 解析X509 主题 subject 中文乱码
- scrollView
- 谁有2014传智播客ios4期基础班+就业班?
- 在dispatch_async那里报错了:Cannot jump from switch statement to this case label
- NSDateFormatter 的dateFromString返回值为nil
- 关于webview的缓存
- iphone中如何获取磁盘的剩余空间大小
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,才可以实践....
等您结贴中.....
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到的代码