Thread
:
[Solved] How to detect phone call - C++ only
View Single Post
Laethnes
2010-10-25 , 08:41
Posts: 26 | Thanked: 1 time | Joined on Oct 2010
#
16
EDIT:
I'm sorry, I finally found the problem - I didn't keep registrar pointer and it was just a local variable.
Original post:
Ok, I wrote simple example application based on your (uvatbc -
http://talk.maemo.org/showpost.php?p=847272&postcount=4
) application to learn how it works and I would like to ask you for help, because it's not working.
- I changed filter to TELEPATHY_INTERFACE_CHANNEL_TYPE_STREAMED_MEDIA
- I check, if ClientRegistrar::registerClient returns true and It does
- but method observeChannels is not called, when I dial and call a number
- I don't know how to check if my class is correctly registered
- Using dbus-monitor (redirect to file) I know that signals from telepathy-qt4 are sent and they are marked with StreamedMedia type.
So maybe I did something wrong and/or missed something.
- At the start of application, I create my class based on AbstractClientObserver and insert filter
- Then I connect its Log signal with my ui class Log slot showing informations
- Then I register it with ClientRegistrar
- registerClient returns true - it's shown in ui class through log system
Last edited by Laethnes; 2010-10-25 at
09:35
.
Quote & Reply
|
Laethnes
View Public Profile
Send a private message to Laethnes
Find all posts by Laethnes