maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   How to detect a call (https://talk.maemo.org/showthread.php?t=56441)

kif 2010-06-17 12:07

How to detect a call
 
Hi

I need to detect whenever a call is started (in- or out-going), or rather whenever a connection has been established, but I cannot find any API for the phone :confused:

Does anyone know where I can find this documentation or a code example preferably in c/c++ ?

Thanks

Kim.

uvatbc 2010-06-17 22:19

Re: How to detect a call
 
Don't have anything in C/C++, but here's something in Python.
It should be fairly simple to understand (Python is simple).

http://wiki.maemo.org/Documentation/..._in_Freemantle

Moving it to C++ will need an understanding of DBus.
If you're using QT, then the QtDBus documentation and examples would be a good place to start.

kif 2010-06-18 10:32

Re: How to detect a call
 
Hi uvatbc

That explains a lot, thanks.

I was looking for something like ctelephony in symbian, now you have pushed me in the right direction that should help ;)

Kim


All times are GMT. The time now is 00:59.

vBulletin® Version 3.8.8