[SailfishDevel] (no subject)

2014-08-08 Thread Fedor Zaitsev
___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Pause application on system events

2014-08-08 Thread Tone Kastlunger
Look into the following dbus interfaces of the MCE: /com/nokia/mce/signal (com.nokia.mce.signal) sig_call_state_ind -> for phone calls /com/nokia/voland/signal (com.nokia.voland.signal) visual_reminders_status -> for alarms / calendar events Best, tk On Fri, Aug 8, 2014 at 11:14 AM, wrote:

Re: [SailfishDevel] Pause application on system events

2014-08-08 Thread sfietkonstantin
Hi Riccardo, At the moment, you can use nemo-keepalive [1] to make your phone not to enter in deep sleep, as well as controlling the screen state etc (you can even make the phone's screen stay permanently on). nemo-keepalive is not allowed in harbour, so you need to dynamically (rpath) or stat

[SailfishDevel] Pause application on system events

2014-08-08 Thread Riccardo Ferrazzo
Hi, I'm writing a Metronome application just to get started with Sailfish. I want the application to not to pause when the screens turns black or when it is minimized but to pause on incoming calls or alarms ringing. At the moment i'm using this: onApplicationActiveChanged: { if(!ap