×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Smile How to set Loudspeaker for incoming call/outgoing call.

    Hello Friends,

    I am working on series S60 3rd edition(FP1).I have query regarding Calling Application.
    I am new to "Call" application. How to Implement Loudspeaker option for call, (For Incoming call/out going call).

    Can anybody help me....plz
    Thank you in advance...

    Regards,
    Srinu..

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to set Loudspeaker for incoming call/outgoing call.

    have you chedked if this would help: http://wiki.forum.nokia.com/index.ph...h_speakers.zip

  3. #3
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Thanks for Quick reply symbianyucca.

    But i am not able to find my solution in u r link..(Implementing Loudspeaker While incoming and outgoing calls)

    I am trying with this http://wiki.forum.nokia.com/index.ph...n_some_devices

    if any other way to solve my problem. PlZ..let me know.

    Thank you in advance...

    Regards,
    Srinu..

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to set Loudspeaker for incoming call/outgoing call.

    did you try out the link, it says "Example application that shows on how you can switch between earpiece and loudspeaker, when having a active call.", and I actually wrote that my self, and also tested it with N95.. So could you specify on what are you trying to do ?

  5. #5
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi Friends,


    symbianyucca i am sorry i was mistaken.. i didn't observe ur link properly.. Now i am trying to implement ur code.

    But now my problem is tat, I am not finding this header file in any of the plug-ins:
    #include <TelephonyInternalPSKeys.h> .

    I searched the SDk plugins but couldn't find it still.
    pls.. could u let me know in which plug in i can get this headre file.

    Thank you in advance...

    Regards,
    Srinu..
    Last edited by rapelly.srinu; 2008-11-28 at 07:17.

  6. #6
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi,

    Hope the link will helpful to you.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  7. #7
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Quote Originally Posted by symbianyucca View Post
    did you try out the link, it says "Example application that shows on how you can switch between earpiece and loudspeaker, when having a active call.", and I actually wrote that my self, and also tested it with N95.. So could you specify on what are you trying to do ?
    Hi yukka, i test same application on my N 95 and get errorcode 46 when i set the volume, and you said it is working, i add FP1 plugin, but still get no success.

    Here is my post link where i am waiting for answer

    http://discussion.forum.nokia.com/fo...d.php?t=151302
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Did you copy to code to another application ?
    Also do try adding some capabilities to get rid of the -46.

  9. #9
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Quote Originally Posted by symbianyucca View Post
    Did you copy to code to another application ?
    Also do try adding some capabilities to get rid of the -46.
    No i did not copy the code, i directly install sis from application sis folder after sign, that is not working on N 95 but working on N 73.

    One thing in your link that you provided in this post have Ear Lound switch speakers.zip file that have only one application propertytest, that has not ant set functionality, and i downloaded example with CR Keys To Control Phone Volume API, from

    http://wiki.forum.nokia.com/index.ph...one_Volume_API

    This API works for N73, but not work N95, i added all related Capabilities.

    Please read my current post, i am help less now, so please help me.........
    that example
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  10. #10
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi Friends,

    Symbianyucca I have implemented ur code successfully in my Application and it is working fine in N95.

    This is the code which i was used "how to switch between earpiece and loudspeaker, when having a active call.",

    {
    TInt mode(-1);

    TInt errNo = RProperty::Get(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, mode);

    RDebug::Print(_L("CAnswerIncomingCallContainerView::ToggleSpeaker() err == %d"), errNo);

    switch (mode)
    {
    case EPSPrivate:
    RProperty::Set(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, EPSPublic);
    break;
    case EPSPublic:
    RProperty::Set(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, EPSPrivate);
    break;
    default:
    break;
    }

    But the Problem is, it's not working in E61 and N73, So could u tell me, why it's not supporting..

    Could u suggest me
    Thank you in advance...

    Regards,
    Srinu..

  11. #11
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi,
    Have you checked whether the code will work fine in 3rd edition device?? because N95 is 3.1 device and the other two devices E61 and N73 are 3.0 devices.
    Maximus
    S60 Developer
    Impossible is nothing

  12. #12
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi Friends,

    Yogpan I tested my Application in N95, E61 and N73.

    The Application is working in N95 successfully With Loudspeaker option.

    The same Application working in E61 and N73 But Loudspeaker option is not working.

    Could any one suggest me, so tat i can implement Loudspeaker for all devices..


    Regards,
    Srinu..
    Last edited by rapelly.srinu; 2008-12-01 at 11:00.

  13. #13
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi,

    If its working on E61 then it will definitely work on N73 because both phones are from 3rd SDK initial release but N95 3rd SDK FP1.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  14. #14
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi Friends,

    KKrish, Is there any solution (or) a code for "how to switch between earpiece and loudspeaker, when having a active call"

    Which will work in E61 and N73 (3rd SDK initial release and also in N95 (3rd SDK FP1).

    Thank you in advance...

    Regards,
    Srinu..

  15. #15
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    217

    Re: How to set Loudspeaker for incoming call/outgoing call.

    Hi Srinu,

    Are you getting any error code on N73 if below code is executed?

    Code:
    TInt err = RProperty::Set(KTelephonyAudioOutput, KTelephonyAudioOutputPreference,EPSPublic);

Similar Threads

  1. Replies: 2
    Last Post: 2008-05-02, 11:41
  2. Reject incoming call using CTelephony?
    By Poyo_shiu in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2008-05-01, 15:28
  3. Call conference
    By nukool_c in forum Mobile Java General
    Replies: 7
    Last Post: 2007-09-07, 21:30
  4. How can i initiate a data call between two Nokia 30
    By hengxu2002 in forum Nokia M2M
    Replies: 1
    Last Post: 2002-10-29, 04:59
  5. Nokia 7160 auto receive next call as datal call
    By jackal_jr in forum General Messaging
    Replies: 0
    Last Post: 2002-08-19, 13:05

Posting Permissions

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