WEB开发网
开发学院手机开发Symbian 开发 symbian 来电铃声及情景模式设置 阅读

symbian 来电铃声及情景模式设置

 2010-08-11 12:19:00 来源:WEB开发网   
核心提示://重起情景模式。MProfileEngine* profileEngine = CreateProfileEngineL();CleanupReleasePushL(*profileEngine);profileEngine->SetActiveProfileL(profileEngine->Active

//重起情景模式。

MProfileEngine* profileEngine = CreateProfileEngineL();

CleanupReleasePushL(*profileEngine);

profileEngine->SetActiveProfileL(profileEngine->ActiveProfileId());

CleanupStack::PopAndDestroy(1);

if (ret == KErrNone)

{

return TRUE;

}

else

{

return FALSE;

}

}

TInt CRingManager::GetRingVolume()

{

TInt aVolume;

const TUid KUidSound =

{

0x101f8798

};

CRepository* repository = CRepository::NewL(KUidSound);

TInt mode = -1;

repository->Get(0x7e000001, mode);

TInt ret = KErrNone;

repository->Get(0x7E000008,aVolume); //铃声声量

delete repository;

repository = NULL;

return aVolume;

}

上一页  1 2 3 4 5 

Tags:symbian 来电 铃声

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