Hi!
I'm trying to play an error notification sound? Isn't this enough to do it?
//TCode:TBaSystemSoundType soundType(KErrSystemSoundMessageUID); CoeSoundPlayer::PlaySoundNow(soundType);
Hi!
I'm trying to play an error notification sound? Isn't this enough to do it?
//TCode:TBaSystemSoundType soundType(KErrSystemSoundMessageUID); CoeSoundPlayer::PlaySoundNow(soundType);
Hi,
You can try this:
RegardsCode:#include <aknsoundsystem.h> // CAknKeySoundSystem #include <avkon.hrh> // EAvkonSIDErrorTone #include <aknappui.h> // iAvkonAppUiBase ... CAknKeySoundSystem* kss = iAvkonAppUiBase->KeySounds(); if(kss) { kss->PlaySound(EAvkonSIDErrorTone); } ...
Ziteng Chen