laptop and a wrench

Bug

Please enhance the ArcGIS for Android SDK template and samples v1.1.1 for Eclipse to include the configuration change of screen orientation in the Android manifest file, which can prevent an application crash when the screen of an Android device is rotated.

Last Published: August 25, 2014 ArcGIS Runtime SDK for Android
Bug ID Number NIM081301
SubmittedMay 31, 2012
Last ModifiedJune 11, 2020
Applies toArcGIS Runtime SDK for Android
Version found1.1
Program languageJava
Operating SystemWindows
Operating System VersionXP 64 Bit
StatusIn Product Plan

Workaround

1. Add android:configChanges="orientation" to the activity's manifest node in AndroidMainfest.xml. For example:<activity android:name=".RotateMapActivity"android:configChanges="orientation"android:label="@string/app_name">2. Override the onConfigurationChanged() method. For example:@Overridepublic void onConfigurationChanged(Configuration newConfig){super.onConfigurationChanged(newConfig);}

Steps to Reproduce

Bug ID: NIM081301

Software:

  • ArcGIS Runtime SDK for Android

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options