Hi, 

I use following dbus approach; 
"com.nokia.mce", "/com/nokia/mce/signal", "com.nokia.mce.signal", 
"sig_call_state_ind"

Looking for strings "ringing", "active", "none" with small state-machine.

When someone calls to the phone, "ringing" -> answered "active" -> not 
answered/hangup "none"
Making a outgoing call "active" --> hup "none"

-kimmo

________________________________________
Lähettäjä: devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] käyttäjän Dmitriy Purgin 
[dpur...@gmail.com] puolesta
Lähetetty: 8. lokakuuta 2014 12:05
Vastaanottaja: Sailfish OS Developers
Aihe: Re: [SailfishDevel] Call events

Hi,

the telephony is provided by oFono which has a convenient DBus
interface, [1]. You might as well use libqofono-qt5 [2] binding which
is much easier, but won't be approved by harbour unless you put it as
a private library of your application.

Cheers

[1] https://git.kernel.org/cgit/network/ofono/ofono.git/tree/doc
[2] https://github.com/nemomobile/libqofono

2014-10-08 14:00 GMT+06:00 Kaj-Michael Lang <mil...@tal.org>:
> Is there some, official harbour approved, way to get notified about
> incoming/outgoing calls start/stop so my app can react to these events ?
>
>
> --
> Kaj-Michael Lang <mil...@tal.org>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to