This page was last modified 09:40, 8 May 2008.
在Nokia N95 8GB手机中使用AIW拨打语音电话将引发错误
From Forum Nokia Wiki
KIS000819
- 开发伙伴平台:
S60 3rd Edition, FP1
- 详细描述
这个API不是公开SDK的一部分,可以在这里找到SDK API Plug-in。
当使用AIW API拨打电话,将引发错误代码-6(KErrArgument)。
下列代码使用AIW API拨打VoIP,视频或音频电话:
TAiwDialDataV1 data;
TAiwDialDataV1Pckg dataPckg( data );
data.SetTelephoneNumber(telNumber);
// CallType can be Voice, VoIP, or Video
TAiwCallType callType(EAiwVoice);
data.SetCallType( callType );
TAiwNameBuffer name(_L("Callee"));
data.SetName(name);
data.SetWindowGroup( CCoeEnv::Static()->RootWin().Identifier() );
data.SetShowNumber(ETrue);
data.SetRemoveInvalidChars(EFalse);
TPtrC8 ptr;
ptr.Set( dataPckg );
TAiwVariant variant( ptr );
TAiwGenericParam param( EGenericParamCallDialDataV1, variant );
CAiwGenericParamList& paramList = serviceHandler->InParamListL();
paramList.AppendL( param );
//Make call
serviceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList,
serviceHandler->OutParamListL() );
在S60第三版和S60第三版FP1手机上工作正常,但在Nokia N95 8GB上,则ExecuteServiceCmdL()方法将会引发错误代码-6 KErrArgument。
- 解决方案
使用第三方的电话API或电话客户端呼叫API(API Plug-in package的一部分)取代AIW(API Plug-in package的一部分),该问题有望在N95 8GB的后继版本得以解决。
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| N95 compatible with the Ck-7W? | nicoleif | Bluetooth Technology | 1 | 2007-07-02 06:40 |
| Adding .rm files to a playlist in N95 | psdeepti | General Symbian C++ | 1 | 2007-11-22 15:40 |
| COMPASS in N95 | msalamah82 | Location Based Services and Navigation | 3 | 2008-02-29 05:49 |
| novice on this forum - question about N95 | jirikoo | General Discussion | 3 | 2007-08-18 05:08 |
| Loading times on a Nokia N95 :( | Andy1967 | General Symbian C++ | 6 | 2007-06-05 21:05 |
