(Difference between revisions)

Archived:AIW Dial Data Consumer Symbian API

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Automated change of text from {{NoteS}} to {{Note|. (using newer note template))
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:CodeSnippet) - now using Template:ArticleMetaData)
Line 3: Line 3:
|platform=S60 3rd Edition, FP2
|platform=S60 3rd Edition, FP2
Line 11: Line 11:
|creationdate=June 13, 2008
|creationdate=June 13, 2008
|keywords=AIW Dial Data Consumer API
|keywords=AIW Dial Data Consumer API
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices. -->)
|author=[[User:Technical writer 1]]

Revision as of 11:30, 24 June 2011


Article Metadata
Platform(s): S60 3rd Edition, FP2
S60 3rd Edition FP2
Platform Security
Capabilities: )
Keywords: AIW Dial Data Consumer API
Created: User:Technical writer 1 (13 Jun 2008)
Last edited: hamishwillee (24 Jun 2011)

Note.pngNote: :This API is not part of the public SDK. It can be found in the SDK API Plug-in.

The AIW Dial Data Consumer API (class CAiwDialData) is introduced in the S60 3rd Edition, Feature Pack 2 SDK API Plug-in Pack. The API can be used instead of TAiwDialDataV1, TAiwDialDataV1Pckg, TAiwVariant, TAiwGenericParam.

Using CAiwDialData simplifies parameter passing when the AIW framework is used for call dialing.

Header file




Dialing a voice call with CAiwDialData

 CAiwServiceHandler* serviceHandler = CAiwServiceHandler::NewLC();
RCriteriaArray interest;
CleanupClosePushL( interest );
CAiwCriteriaItem* criteria =
CAiwCriteriaItem::NewLC(KAiwCmdCall, KAiwCmdCall,_L8("*"));
TUid base;
base.iUid = KAiwClassBase;
criteria->SetServiceClass( base );
User::LeaveIfError( interest.Append( criteria ) );
// Attach to AIW interest
serviceHandler->AttachL( interest );
//Create CAiwDialData instance
CAiwDialData* dialData = CAiwDialData::NewLC();
dialData->SetCallType( CAiwDialData::EAIWVoice );
//Define call parameters
_LIT(phoneNumber, "+35840123456");
dialData->SetWindowGroup( AIWDialData::KAiwGoToIdle );
CAiwGenericParamList& paramList = serviceHandler->InParamListL();
// Fill in the parameter list
dialData->FillInParamListL( paramList );
// Execute call command
serviceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList,
serviceHandler->OutParamListL() );
CleanupStack::PopAndDestroy( 3 ); // dialData, criteria, interest

Example project


164 page views in the last 30 days.