On Android, this seems to correspond to the WAKE_LOCK permission. I was hoping there was a Window.preventSleep property or something like that so I can modify the property at run-time.
> Sent: Monday, April 13, 2015 at 1:09 PM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] Preventing sleep on mobile platforms > > On Monday 13 April 2015 18:59:34 Gianluca wrote: > > Dear Jason, > > I don’t think it’s possible. Doing this means override the user’s > > preferences about the energy saving. These kind of preferences are usually > > beyond the possibility of any Android and iOS app. Anyway, even if it’s > > possible, all guides about user experience on mobile platform always > > recommend to never override this kind of user preferences. > > I think it is possible. How do mapping applications do it? > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest