I would like know how to lock the rotation of the screen when exporting using the Intel XDK?
I ready somewhere this:
Added use of the AppMobi.device.setRotateOrientation("landscape"); and AppMobi.device.setAutoRotate(false);
But where? Since I can't find the file to edit.
EDITED: Oh, I found it, it's inside the index.html and you need to find the line:
Develop games in your browser. Powerful, performant & highly capable.
TELLES0808 I know this post is old, but if you're still looking If you have the "XDK" object in your project list you can simply create an
"On Start of Layout" --> "Set orientation to Landscape/Portrait"
Using the XDK object.