ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13059
Re: Avoid screen = OFF
@Vincent: It's a QML app, then I think I can't send commands to the shell
(?)
@XiaoGuo: An example code is always welcome :) I'm supposing will be false
and not true. I'll try it!
Thanks a lot!!
On Fri, Jun 5, 2015 at 3:02 AM, XiaoGuo Liu <xiaoguo.liu@xxxxxxxxxxxxx>
wrote:
> The following code should work:
>
> import QtSystemInfo 5.0
>
>
>
> ScreenSaver {
>
> id: screenSaver
>
> screenSaverEnabled: true
>
> }
>
>
> I have done an article in Chinese for it at: http://blog.csdn.net/ubuntutouch/article/details/45967623
>
>
> cheers!
>
>
> On Fri, Jun 5, 2015 at 1:09 AM, costales <costales@xxxxxxxxxx> wrote:
>
>> Hi!
>> Can I force the screen always = ON in a QML app for Ubuntu Phone?
>> Thanks in advance!
>>
>> Costales.
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> XiaoGuo, Liu (刘晓国)
> Mobile: +86-13911181302
>
Follow ups
References