Software Archive
Read-only legacy content
17061 Discussions

What are the replacements for Cordova?

Eddy_M_
Beginner
340 Views

What should we do in Intel XDK if we are using these in javascript?

intel.xdk.device.setRotateOrientation('any');
intel.xdk.device.setAutoRotate(true);

What are the replacements for these in Cordova?

Mine is an ebook html5 app, I have to allow the Android and iOS devices to launch the app either in portrait or landscape modes.

Thanks 

0 Kudos
2 Replies
Elroy_A_Intel
Employee
340 Views

You can set all of the desired options and configurations under the Project panel > Build Settings.

0 Kudos
Eddy_M_
Beginner
340 Views

Do you mean I only to set the Orientation to Default?

Then I can both allow the screen to rotate as well as have auto rotation?

0 Kudos
Reply