10-07-2012 02:15 PM
How do I get my app to open in landscape:
I've looked here:
https://developer.blackberry.com/cascades/document
But opening bar descriptor file doesnt open the blackberry editor, just the text editor, whats the tag for orientation so I can enter it in the xml.
Cheers
Solved! Go to Solution.
10-07-2012 06:16 PM
Within the Native SDK go to your bar-descriptor.xml file and click under the tab application > orientation > portrait/landscape as desired.
Within XML file the code is:
<initialWindow>
<aspectRatio>portrait</aspectRatio>
<autoOrients>false</autoOrients>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
</initialWindow>
You probably dont need all of that but thats what it automatically prints out
10-07-2012 07:38 PM - edited 10-07-2012 07:39 PM
If you right click on the bar-descriptor.xml, then you select Open With. Select the Blackberry Application Descriptior Editor. The menu remembers the last way that you opened the file and uses that the next time. You should see a dot beside the one that will be used with a double click.
Then go to the Application tab when it opens. There is where you will find Orientation.
10-08-2012 05:32 AM
10-08-2012 09:41 AM
@JeffLemon. It works in my Beta 3 IDE.