- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can set all of the desired options and configurations under the Project panel > Build Settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page