×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    34

    activating loudspeaker

    Hello,

    I'm trying to activate the speaker from my application.
    I understand that I have to do call this command

    RProperty::Set(KTelephonyAudioOutput, KTelephonyAudioOutputPreference,EPSPublic);

    my problem is that I got compilation error about that three parameters:

    KTelephonyAudioOutput
    KTelephonyAudioOutputPreference
    EPSPublic

    where can i find those decleration?
    which plugin i should install?
    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: activating loudspeaker

    These are constants, obviously declared in some .h file. And actually the description of the .h files you need (which one and how to get it) is provided on the Wiki page where you have seen this code snippet. So read once more, download the plugin, and extract the file.

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    7

    Re: activating loudspeaker

    The header file TelephonyInternalPSKeys.h (present in Shared Data API) contains defintion for these constants.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Location
    Luttenberg (Netherlands)
    Posts
    577

    Re: activating loudspeaker

    There is a difference between controlling the audio output for a phone call and the audio output of an application.

    For controlling audio output from an application simply call SetAudioOutputL() in S60 FP1 and S60 FP2.
    We are using SetAudioOutputL() and it works.

    See among others:
    http://wiki.forum.nokia.com/index.ph...Pack_1_devices

    For S60 MR there is Audio Proxy Server.

    BR,

    Rene
    Rene Heuven
    Inmote - Creative Smartphone Solutions
    Web: www.inmote.com
    E-mail: rene@inmote.com

Similar Threads

  1. Replies: 25
    Last Post: 2011-03-15, 03:39
  2. how to switch between earpiece and loudspeaker, when having a active call
    By rapelly.srinu in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2009-09-07, 13:23
  3. Fail to play audio to loudspeaker when connecting handsfree
    By stonejustek in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2008-10-11, 01:30
  4. Script to disable loudspeaker
    By rk2oo7 in forum General Development Questions
    Replies: 1
    Last Post: 2008-01-31, 02:18
  5. Activating loudspeaker on 7650
    By mayprog in forum Symbian
    Replies: 1
    Last Post: 2004-12-07, 08:15

Posting Permissions

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