Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

What are the replacements for Cordova?

Eddy_M_
Beginner
693 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
693 Views

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

0 Kudos
Eddy_M_
Beginner
693 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