In intel xdk fix screenorientation bug.
cordova plugin add net.yoik.cordova.plugins.screenorientation
in index.html please, add in <head> section
<script>
screen.lockOrientation('portrait');
</script>
or
<script>
screen.lockOrientation('landscape');
</script>