WEB开发网
开发学院手机开发Symbian 开发 在S60V3 FP1上使用情景模式引擎类改变铃声 阅读

在S60V3 FP1上使用情景模式引擎类改变铃声

 2010-03-16 16:47:00 来源:WEB开发网   
核心提示:How to set the ringing tone 3rd edition, FP1 using the Profile Engine Wrapper API?Header Requierd:#include #include #include #include Library Needed:LIBRARY Pro

How to set the ringing tone 3rd edition, FP1 using the Profile Engine Wrapper API?

Header Requierd:

#include

#include

#include

#include

Library Needed:

LIBRARY ProfileEngine.lib

Capability Required:

Capability WriteDeviceData

Source:

MProEngEngine* engine = ProEngFactory::NewEngineL();

CleanupReleasePushL(*engine);

MProEngProfile* activeProfile = engine->ActiveProfileL();

CleanupReleasePushL(*activeProfile);

MProEngTones& tones = activeProfile->ProfileTones();

_LIT( KToneName, "C:\Data\Sounds\Digital\Pokiri.mp3" );

TInt error = tones.SetRingingTone1L(KToneName);

activeProfile->CommitChangeL();

CleanupStack::PopAndDestroy(2);

Tags:SV FP 使用

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