| 想提取手机设置的呼叫转移信息,如转移到了哪个号码上,提取出来。 | |
| 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的插件…. | 
| #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到的代码 | |