Building Mobile Enterprise Applications : webMethods Mobile Development Help : Creating and Building a Mobile Application : Configuring the Orientations Setting for the Application
Configuring the Orientations Setting for the Application
An application’s orientation setting indicates whether the user interface for the application displays in portrait mode, landscape mode, or rotates from portrait mode to landscape or vice versa as the user rotates the device.
To configure the orientation setting for a mobile application
1. Ensure the Mobile Project is displayed in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
2. In the Model section of the Outline Editor, expand the project so that you can view the top-level child node that represents the root application for the project.
3. Select the root application node.
4. In the Properties section of the screen, select the orientation you want to use in the Orientation property.
Select PerHandset if you want to set the orientation settings for each device a project supports rather than use a single global orientation setting for all devices. When you use PerHandset, the orientation setting for a device is made in the XML file for the device in the project’s targets folder. In this case, you are responsible for setting the correct orientation property for each device. For more information about project properties, see Using webMethods Mobile Designer.
Tip:  
To update the Java classes that Mobile Development generates for the project so that your changes are represented in the generated sources, save the project and regenerate sources. For instructions, see Generating Sources for a Mobile Project.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback