Hi guys,
Sorry for the nobie question, how to keep an app awake in QML?![]()
Hi guys,
Sorry for the nobie question, how to keep an app awake in QML?![]()
hahaha i want the screen to stay on after lunching the app even if there is no interactionthats all
help plz![]()
You mean you want to disable the screensaver? You have to use the native API for that.
et3rnal (1st September 2011)
maybe he doesn't want the app to be hidden by other apps?
maybe he wants to prevent minimizing?
maybe he wants to give us more information?
et3rnal (1st September 2011)
okay guys will give more info
for example: I want an app that after lunch will show picture, and this picture/color will stay on "with the screens light" so no screen saver, no brightness down, it just stay on till the user quit the app
hope this made it clearer
huh, this should be clearer:
like the lighting apps, white screen only to light wt u want without doing off by it self if there is no interaction![]()
To suppress the system screensaver and power saver mechanisms you will need to use a system specific API (as Wysota said earlier). Qt offers nothing to help here.
For Windows you could look at : SystemParametersInfo
For your S60 and Maemo platforms you would have to ask someone else (I don't even own a mobile phone, let alone program for them).
Maemo uses X11 so appropriate X calls need to be used. However the system needs to support them for this to work. I don't know if that's the case for Maemo.
yes i want it for meamo :|
i just dont feel these answers are really the right for newbie person like me lol, anyway thanks![]()
Haven't you heard of QSystemScreenSaver?
http://doc.qt.nokia.com/qt-mobility-...reensaver.html
et3rnal (6th September 2011)
Bookmarks