There's also ofono D-Bus interface (the original source of pretty much everything related to telephony) and libqofono library:

https://git.merproject.org/mer-core/libqofono

Harbour apps can't link to it though but there's nothing wrong with compiling bits of it into your app.

Cheers,
-Slava

Hi Adam,

thank you very much, that was fast. :) Haven't thought of checking these kind 
of apps...

Will check in detail when I have some free time - probably on the next weekend.

Best regards, Sebastian

On Monday, 16 July 2018, Adam Pigg wrote:
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