Re: [SailfishDevel] Forcing application to stay active and prevent screensaver.

2013-12-23 Thread Samuli Järvinen
Thanks, Playing with ScreenSaver seems to work on emulator, but not on device. Also no errors on journalctl, so I guess the device handles the ScreenSaver at some level, but there is another mechanism for turning screen off. -Samuli On 23 Dec 2013, at 03:42, Gabriel Böhme wrote: > Hi, > > t

Re: [SailfishDevel] Forcing application to stay active and prevent screensaver.

2013-12-23 Thread Kimmo Lindholm
rom: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Samuli Järvinen Sent: Monday, December 23, 2013 9:00 PM To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Forcing application to stay active and prevent screensaver. Thanks, Playing with S

Re: [SailfishDevel] Forcing application to stay active and prevent screensaver.

2013-12-22 Thread Gabriel Böhme
Hi, the ScreenSaver function from QML SystemInformation should allow to keep the screen alive, BUT: this is not allowed for import in harbour applications at the moment. Due to the fact it's possibly not API stable. It was included in QtMobility in Qt4.x, but is now split up and got maybe some ch

[SailfishDevel] Forcing application to stay active and prevent screensaver.

2013-12-22 Thread Samuli Järvinen
Hi, I know this is something that more often than not should not happen. However I could not be more annoyed when the screen goes blank and I’m watching for example my position on screen and waiting for a gps fix. So short question. Is there a way to prevent application from going background an