<div dir="ltr"><div>Hi Sebastian</div><div><br></div><div>In Amazfish, I 'borrowed' the code from rockpool for the same thing, see <a href="https://github.com/piggz/harbour-amazfish/blob/master/src/voicecallhandler.cpp">https://github.com/piggz/harbour-amazfish/blob/master/src/voicecallhandler.cpp</a></div><div><br></div><div>Adam<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 16 Jul 2018 at 22:11 Sebastian Wolf <<a href="mailto:sebastian@ygriega.de">sebastian@ygriega.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

    
<div><p>Dear fellow developers,</p><p>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...</p><p>Currently, I use the event statusChanged on org.nemomobile.voicecall.VoiceCall with the path /calls/active on the session bus - details on: <a href="https://github.com/Wunderfitz/harbour-funzel/blob/master/src/funzel.cpp#L30" target="_blank">https://github.com/Wunderfitz/harbour-funzel/blob/master/src/funzel.cpp#L30</a> </p><p>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?</p><p>Thanks in advance and best regards, Sebastian</p></div>
 
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>