Active Topics

 


Reply
Thread Tools
crabsody's Avatar
Posts: 63 | Thanked: 12 times | Joined on Feb 2010 @ Thessaloniki Greece
#11
Ι tested the above code and it works. Of course the question is how can we obtain the call number?
 

The Following 2 Users Say Thank You to crabsody For This Useful Post:
Posts: 9 | Thanked: 2 times | Joined on Apr 2010 @ Brno, Czech republic
#12
Thanks for the kind. It works . You can use for get the callnumber:

QList<QVariant> lst = msg.arguments();
QVAriant var;
foreach(var, lst)
{
SetText(var.toString());
}
 

The Following User Says Thank You to prklic For This Useful Post:
crabsody's Avatar
Posts: 63 | Thanked: 12 times | Joined on Feb 2010 @ Thessaloniki Greece
#13
prklic (or anyone else) do you know how can I check other things regarding phone? I mean how can I count the time of each of my calls for example? I am not satisfied from the call timer of N900
 
crabsody's Avatar
Posts: 63 | Thanked: 12 times | Joined on Feb 2010 @ Thessaloniki Greece
#14
I try to catch a signal when someone answers my call. When I executed dbus-monitor during such call I got this

Code:
signal sender=:1.17 -> dest=(null destination) serial=1824 path=/com/nokia/csd/call/1; interface=com.nokia.csd.Call.Instance; member=AudioConnect
   boolean true
   boolean true
   boolean false
So I translated as qt code as:
Code:
bus.connect("com.nokia.csd.Call.Instance", "/com/nokia/csd/call/1", "com.nokia.csd.Call.Instance", "AudioConnect", this, SLOT(handleCall(const QDBusMessage&)));
Sadly handleCall never executes!!! Any thoughts???
 
Posts: 9 | Thanked: 2 times | Joined on Apr 2010 @ Brno, Czech republic
#15
You try use:
bus.connect("com.nokia.csd.Call", "/com/nokia/csd/call/1", "com.nokia.csd.Call.Instance", "AudioConnect", this, SLOT(handleCall(const QDBusMessage&)));
 

The Following User Says Thank You to prklic For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:07.