Hi, Antonio Thanks for using Crosswalk. That’s a great suggestion of feature we should support. I’ve created a bug for it at https://crosswalk-project.org/jira/browse/XWALK-1411 .
Currently, you might need to hack into the Android project before building out the apks. You can add android:keepScreenOn="true" to the layout.xml of the Activity, that flag will keep the screen on for your Activity. Thanks, Shiliu. From: Crosswalk-help [mailto:[email protected]] On Behalf Of Antonio Aloisio Sent: Thursday, April 10, 2014 6:35 PM To: [email protected] Subject: [Crosswalk-help] How to keep an android device screen on Hi there, I made an HTML5-based game which uses the accelerometer as input. When playing, the screen goes off every N secs and that's quite annoying. :( Question: how can I keep the screen on? Is there any make_apk flag or manifest option that I missed? or JS API that I can use? Thanks in advance for your help and keep up the good work! Antonio
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
