[SailfishDevel] Pause application on system events

Riccardo Ferrazzo rferrazz at develer.com
Mon Aug 4 06:51:53 UTC 2014

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: {
            metronome._running = false;

But i want to be less restrictive. can someone give me any hint on how to 
acheive it?

Riccardo Ferrazzo

More information about the Devel mailing list