Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-04-02 Thread frances frederic
hi many thanks for your answers. If I have enough time for that I'll try to do like that (as it's needed to do relatively painless task to be harbour compliant), for the moment I should concentrate to other functionalities of my app. Regards, Frédéric Le Jeudi 20 mars 2014 14h09, Arvid Fa

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-20 Thread Arvid Fahlström Myrman
I've been using nemo-keepalive's DisplayBlanking (https://github.com/nemomobile/nemo-keepalive) as per Ove's recommendation earlier in this thread. I did have to write my own qmake project file to be able to compile nemo-keepalive and place it in the correct directory without having to make any

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-20 Thread Ruediger Gad
Hi, if there is already an according harbour-api-request at together.jolla.com you might also want to vote for this. If not, you could open an according request. OT: Otoh, and sorry for taking this off-topic, this example again illustrates the drawbacks of the current harbour rule situation. In t

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-19 Thread Andrey Kozhevnikov
you can make own C++ dbus helper for mce. its just nemomobile qml import not allowed On 20.03.2014 12:35, frances frederic wrote: hi all I've used dbus package to prevent jolla from sleeping using same code as /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml but it seems to be not allwed by

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-19 Thread frances frederic
hi all I've used dbus package to prevent jolla from sleeping using same code as /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml  but it seems to be not allwed by jolla validation team when submitting to harbour. ERROR [/usr/share/harbour-upnpplayer/qml/pages/FirstPage.qml] Import 'org.nemomobil

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-20 Thread Ove Kåven
Den 20. feb. 2014 19:16, skrev Arvid Fahlström Myrman: Well, I've at least solved the first problem by implementing a timer similar to the one used by ScreenBlank in Sailfish.Media (see /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml for reference), and it seems to work properly. I wonder though,

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-20 Thread Kimmo Lindholm
ToLog(buf); } -kimmo -Original Message- From: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Arvid Fahlström Myrman Sent: 20. helmikuuta 2014 20:17 To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-20 Thread Arvid Fahlström Myrman
Well, I've at least solved the first problem by implementing a timer similar to the one used by ScreenBlank in Sailfish.Media (see /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml for reference), and it seems to work properly. I wonder though, how are we developers supposed to know about these D