Hi Sebastian

In Amazfish, I 'borrowed' the code from rockpool for the same thing, see
https://github.com/piggz/harbour-amazfish/blob/master/src/voicecallhandler.cpp

Adam

On Mon, 16 Jul 2018 at 22:11 Sebastian Wolf <sebast...@ygriega.de> wrote:

> Dear fellow developers,
>
> last weekend, I did some additional experiments with my new Gemini PDA and
> was quite happy that I could implement a nice Knight-Rider/K.I.T.T.-like
> LED animation for incoming calls for SFOS. What drove me crazy was that the
> DBus event which I found out for active call changes doesn't fire in all
> cases. Incoming call detection always works, but when the status changes,
> sometimes no event comes in, so I can't disable the LEDs when the call is
> answered/disconnected etc in all cases...
>
> Currently, I use the event statusChanged
> on org.nemomobile.voicecall.VoiceCall with the path /calls/active on the
> session bus - details on:
> https://github.com/Wunderfitz/harbour-funzel/blob/master/src/funzel.cpp#L30
>
>
> I couldn't find any reliable information if another event might be better,
> only some old and most certainly outdated information about MCE... But
> maybe I was just blind. Does anybody know a reliable option for current
> SFOS releases?
>
> Thanks in advance and best regards, Sebastian
> _______________________________________________
> 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