<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to force Landscape only mode. in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003717#M31204</link>
    <description>Testing on a Nexus 7

I have set Orientation in the project build-settings  to "Landscape"
Have added "device" to the plugins.
Have added intel.xdk.device.setRotateOrientation("landscape"); to my code.

This works to force the emulator to be in landscape.

But when I use debug on the Nexus 7 it loads in whatever orientation the tablet is being held.

I gathered the above attempts from various suggestions on the forum.
Looked into the "Orientation" sample file. Did not see anything in there that would force a particular orientation. The sample seems to be related to modifying the dom display in response to orientation change. Nice example but seems to be unrelated to forcing landscape only only.

Is this a Nexus 7 problem?
Or, perhaps Crosswalk is not setup to handle this?

Thanks for any clues.</description>
    <pubDate>Fri, 28 Aug 2015 03:03:31 GMT</pubDate>
    <dc:creator>Claude_N_</dc:creator>
    <dc:date>2015-08-28T03:03:31Z</dc:date>
    <item>
      <title>Trying to force Landscape only mode.</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003717#M31204</link>
      <description>Testing on a Nexus 7

I have set Orientation in the project build-settings  to "Landscape"
Have added "device" to the plugins.
Have added intel.xdk.device.setRotateOrientation("landscape"); to my code.

This works to force the emulator to be in landscape.

But when I use debug on the Nexus 7 it loads in whatever orientation the tablet is being held.

I gathered the above attempts from various suggestions on the forum.
Looked into the "Orientation" sample file. Did not see anything in there that would force a particular orientation. The sample seems to be related to modifying the dom display in response to orientation change. Nice example but seems to be unrelated to forcing landscape only only.

Is this a Nexus 7 problem?
Or, perhaps Crosswalk is not setup to handle this?

Thanks for any clues.</description>
      <pubDate>Fri, 28 Aug 2015 03:03:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003717#M31204</guid>
      <dc:creator>Claude_N_</dc:creator>
      <dc:date>2015-08-28T03:03:31Z</dc:date>
    </item>
    <item>
      <title>Try setting the Crosswalk</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003718#M31205</link>
      <description>&lt;P&gt;Try setting the Crosswalk build settings to Crosswalk 14.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 04:09:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003718#M31205</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-08-28T04:09:06Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003719#M31206</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have the same problem.&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;The app is possible to autorotate even though i have set the setting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Open Sans', sans-serif; font-size: 14.3999996185303px; line-height: 21.6000003814697px; background-color: rgb(246, 242, 242);"&gt;intel.xdk.device.setAutoRotate(false);&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;The weird thing is that users with the app already on their phone can not auto rotate, but new users that downloads the app are able to autorotate. How can that happen?&lt;/P&gt;

&lt;P&gt;This is for android users.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 11:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003719#M31206</guid>
      <dc:creator>Arve_S_</dc:creator>
      <dc:date>2015-08-28T11:28:00Z</dc:date>
    </item>
    <item>
      <title>Do not use those intel.xdk</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003720#M31207</link>
      <description>&lt;P&gt;Do not use those intel.xdk plugins, they have been deprecated and are not being maintained.&lt;/P&gt;

&lt;P&gt;Many people have used this plugin to control the screen orientation, with good results. I recommend you give it a try: &lt;A href="https://github.com/gbenvenuti/cordova-plugin-screen-orientation" target="_blank"&gt;https://github.com/gbenvenuti/cordova-plugin-screen-orientation&lt;/A&gt; -- you need to add it as a third-party plugin. I recommend you add it as a "git repo" plugin and specify the git location this way:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://github.com/gbenvenuti/cordova-plugin-screen-orientation#v1.4.0" target="_blank"&gt;https://github.com/gbenvenuti/cordova-plugin-screen-orientation#v1.4.0&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;This will insure you get a version that the author has marked as "released" rather than something that is a work in progress.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:17:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003720#M31207</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-08-28T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Thanks Paul,</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003721#M31208</link>
      <description>Thanks Paul,

I will give it a try.
If you don't mind my asking (I'm new to adding third-party plugins to cordova) where does one use the "cordova plugin add net.yoik.cordova.plugins.screenorientation" 

That looks like a command line type syntax. I've been working entirely within the XDK. So this is a new adventure. Is there a faq or tutorial I can refer to?</description>
      <pubDate>Fri, 28 Aug 2015 16:36:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003721#M31208</guid>
      <dc:creator>Claude_N_</dc:creator>
      <dc:date>2015-08-28T16:36:57Z</dc:date>
    </item>
    <item>
      <title>You can add a third party</title>
      <link>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003722#M31209</link>
      <description>&lt;P&gt;You can add a third party plugin on the Projects page &amp;gt; Plugins and Permissions &amp;gt; Third Party Plugins&lt;/P&gt;

&lt;P&gt;Please see this article :&amp;nbsp;https://software.intel.com/en-us/xdk/docs/adding-third-party-plugins-to-your-xdk-cordova-app&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 17:00:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Trying-to-force-Landscape-only-mode/m-p/1003722#M31209</guid>
      <dc:creator>Swati_S_Intel1</dc:creator>
      <dc:date>2015-08-28T17:00:06Z</dc:date>
    </item>
  </channel>
</rss>

