Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User gregman's Avatar
    Join Date
    Jun 2006
    Posts
    5
    Does anyone know how to turn off keypad tones programmatically within a Symbian app?

    I have an app which records audio using the CMdaAudioInputStream. All works well until a key is pressed, after which my CMdaAudioInputStream object ceases to work and the app has to be restarted.

    It seems that the keypad tone that accompanies a key press is the cause of the problem - I have tried manually turning off the keypad tones and things work properly again, but it would be nice to be able to turn them off programmatically.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    maybe you could try this inside your appui:

    KeySounds()->PushContextL(R_AVKON_SILENT_SKEY_LIST);

    yucca

  3. #3
    Registered User gregman's Avatar
    Join Date
    Jun 2006
    Posts
    5
    Thanks yucca, I will get around to this in the next few days. I'll let you know if it works.

  4. #4
    Registered User adenisov's Avatar
    Join Date
    Jun 2003
    Location
    Moscow, Russia
    Posts
    11
    thanks, it works:

    KeySounds()->PushContextL(R_AVKON_SILENT_SKEY_LIST);
    ...
    KeySounds()->PopContext ();

Similar Threads

  1. N7200, Ringing tone question (as audio clip)..
    By axishift in forum General Development Questions
    Replies: 0
    Last Post: 2004-12-20, 02:48

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