Hi All,
Does anybody know how to get information about voice calls etc using the publish & subscribe API?
I'm writing an application for Symbian 9, and therefore can't use the system agent. Instead I've tried the following:
RProperty callProperty;
User::LeaveIfError(callProperty.Attach(KUidSystemCategory,KUidCurrentCallValue))
TInt err;
TInt value;
if((err=callProperty.Get(value)) == KErrNone)
{
switch(value)
case ESACallNone:
//do stuff
break;
case ESACallVoice:
//do stuff
break;
default:
//default other states for now
break;
callProperty.Close();
}
I always get KErrNotFound on the Get() method.
Now, I'm pretty sure that I'm using the wrong category or key or both when attaching to the property. These properties should already be defined in the system, right?
Is there an alternative way of querying the system about call status?
I Would really appreciate any help on this.
Thanks, Hlynur

Reply With Quote



