+

Search Tips   |   Advanced Search

Manage device orientation

When we develop Android applications that target an API level equal or higher than 13, we must include the screenSize value to the android:configChanges attribute in the AndroidManifest.xml file. Otherwise, the application fails to run properly when the device orientation changes.

Assuming that IBM MobileFirst Platform Foundation is the first main activity in the AndroidManifest.xml file of the application:


Parent topic: Develop hybrid applications for Android