Hello,
I want to switch the sound to loudspeaker in my application.
I saw lots of post about this issue but none of them works for E61.
I've tried this code of aps:
TInt errNo = RProperty::Set(KTelephonyAudioOutput, KTelephonyAudioOutputPreference,EPSPublic);
and it's working fine just for n95. not for E61.
I've also tried this two options:
1. CCallAudioControl* iAudioControl= CCallAudioControl::NewL();
TInt retVal = iAudioControl->SetOutput(CCallAudioControl::ELoudspeaker);
2. RAPSSession iSession;
TInt err = iSession.Connect();
iSession.ActivateLoudspeaker(ETrue);
Both options returns "unable to install" message while I was trying to install the my application.
What is the solution to activate the loudspeaker for E61?




