×

Discussion Board

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

    Problem disabling Keytones in Series60

    Hi,

    I am having problems disabling keybeeps in the Siemens SX1 and Nokia 6600 (Series60). This is the following I do:

    * When my application starts up call sounds = <myappui>->keysounds().
    * Then call sounds->PushContextL(R_AVKON_SILENT_SKEY_LIST)
    * The above solution silences the keybeeps while in the application.

    Problem arises when click on the "Options" button. This lauches the Menu (CEikMenuPane). Now when I press any key (down/up) the key tones are played.

    * These keytones are played in a different context than my application.

    Any suggestion as to how I would disable the keytones for while Menu is on.

    Thanks in advance.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143
    hi

    Maybe you could try this piece of code that I copied from newlc:

    RSharedDataClient prof;
    User::LeaveIfError(prof.Connect());
    User::LeaveIfError(prof.Assign(KSDUidProfileEngine));
    User::LeaveIfError(prof.SetInt(KProEngKeypadVolume, 0));
    User::LeaveIfError(prof.Flush());
    prof.Close();

    yucca

Posting Permissions

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