Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User mneuendorf's Avatar
    Join Date
    Jul 2005
    Posts
    1
    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 Roald de Vries's Avatar
    Join Date
    Oct 2004
    Posts
    19
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved