WEB开发网
开发学院手机开发Symbian 开发 Symbian IAP 浅谈:Symbian网络接入点常用编程 阅读

Symbian IAP 浅谈:Symbian网络接入点常用编程

 2010-05-06 17:25:00 来源:WEB开发网   
核心提示:EFalse,EApSettingsSelListIsListPane,EApSettingsSelMenuNormal,KEApIspTypeAll,EApBearerTypeAll,KEApSortNameAscending);TUint32 originallyFocused(uid);TUint32 selec

EFalse,

EApSettingsSelListIsListPane,

EApSettingsSelMenuNormal,

KEApIspTypeAll,

EApBearerTypeAll,

KEApSortNameAscending);

TUint32 originallyFocused(uid);

TUint32 selectedIap(uid);

// Show the dialog

settingsHandler->RunSettingsL(originallyFocused, selectedIap);

CleanupStack::PopAndDestroy(settingsHandler);

/*Ex2: Iterate over a list of IAPs (Series 60 only) */

CCommsDatabase* CommDb = CCommsDatabase::NewL(EDatabaseTypeIAP);

CleanupStack::PushL(CommDb);

CApSelect* ApSelect = CApSelect::NewLC(*CommDb, KEApIspTypeAll ,EApBearerTypeAll ,KEApSortUidAscending);

if (ApSelect->MoveToFirst())

{

do

{

TUint uid = ApSelect->Uid();

//put here your IAP stuff

}

while(ApSelect->MoveNext());

}

CleanupStack::PopAndDestroy(ApSelect);

CleanupStack::PopAndDestroy(CommDb);

上一页  1 2 3 

Tags:Symbian IAP Symbian

编辑录入:coldstar [复制链接] [打 印]
赞助商链接