This page was last modified 12:38, 23 May 2007.
How to Mute a Ringing tone in 3rd edition Devices?
From Forum Nokia Wiki
When a call arrives, its ringing tone can be muted with Phone Client Extension API, part of the API extension plug-in package for S60 3rd Edition.
3rd party Telephony API (CTelephony) can be used for observing incoming call events.
Required Capabilities:WriteDeviceData
Header File
#include <RPhCltServer.h> // link against PhoneClient.lib #include <PhCltExt.h> // link against PhoneClientExt.lib ... RPhCltServer iPhoneClientServer; RLibrary iLibrary; CPhCltCommandHandler* iPhCommandHandler;
Source File
_LIT(KPhoneCltExDllName, "PhoneClientExt.dll"); User::LeaveIfError( iPhoneClientServer.Connect() ); User::LeaveIfError( iLibrary.Load(KPhoneCltExDllName) ); TInt res = iLibrary.Lookup(1)(); CPhCltExtFactory* phCltExtFactory = reinterpret_cast<CPhCltExtFactory*>( res ); iPhCommandHandler = phCltExtFactory->CPhCltCommandHandlerLD(); User::LeaveIfError( iPhCommandHandler->Open(iPhoneClientServer) ); // Mute an ongoing ringing tone. This should be done inside an active object // (a class derived from CActive) iPhCommandHandler->MuteRingingTone( iStatus ); SetActive();
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| svg | jen_fu168 | Mobile Java Tools & SDKs | 3 | 2006-09-20 19:30 |
| 请教一个SDK的问题 | mawenjie | Symbian | 5 | 2006-01-27 06:16 |
| Difference between S40 Developer Platform 2.0 and 2nd Edition | ewuy2 | General Discussion | 3 | 2007-06-26 04:32 |
| Mute a GSM call | skysides | Symbian Media (Graphics & Sounds) | 6 | 2007-11-05 06:35 |
| custom navipanel in 3rd edition | symbianyucca | Symbian User Interface | 0 | 2006-05-23 07:36 |
