×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    1

    get current sms-sound

    I need to read out the current sms-sound and volume depending on the currently selected phone profile for Series60 Platform 1 and 2.
    On Series80 the following code works fine. But not on Series 60. Please help!


    CBaSystemSoundArray* SoundArr = CBaSystemSoundArray::NewL();
    CleanupStack::PushL(SoundArr)
    SoundArr->RestoreL(CEikonEnv::Static()->FsSession(), KUidSystemSoundEvent);

    for (TInt i = 0; i < SoundArr->Count(); ++i)
    {
    TBaSystemSoundInfo TmpEnty = SoundArr->At(i);
    if (TmpEnty.iType.iMajor == KUidSystemSoundEvent &&
    TmpEnty.iType.iMinor == KLafSoundUidReceivedMessage)
    {
    // found all needed infos
    }
    }

    CleanupStack::PopAndDestroy(SoundArr);

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    19

    Re: get current sms-sound

    Hi mneuendorf,

    I think in S60 it can't be done using public API. I've done it another way, though. If you still need to know you can mail me.

    Cheers,

    Roald

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×