Both two ways are expected to work. Please see Belem’s mail. Yongsheng
From: Crosswalk-help [mailto:[email protected]] On Behalf Of Antonio Aloisio Sent: Tuesday, April 15, 2014 5:23 AM To: krish Cc: [email protected] Subject: Re: [Crosswalk-help] What is the right way to lock screen orientation? Hi, I'm using ./make_apk.py --manifest=/path/to/your/manifest.json --orientation=landscape and it works like a charm! No idea if there are other ways to set it in non-java code. Cheers, Antonio On Mon, Apr 14, 2014 at 11:14 PM, krish <[email protected]<mailto:[email protected]>> wrote: Hey guys, I'm using 4.32.76.6 stable and unable to lock screen orientation. I used <script> window.screen.lockOrientation(“landscape”); </scrip> in the body of my html Is that the right way? Deploy/test device used was Nexus 7 (android 4.4) Any right pointers would be great! Thanks you. -- Krish _______________________________________________ Crosswalk-help mailing list [email protected]<mailto:[email protected]> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
