laptop and a wrench

Bogue

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.

Dernière publication: August 25, 2014 ArcGIS Runtime SDK for Android
Numéro d’ID de bogue NIM081301
EnvoiMay 31, 2012
Dernière modificationJune 11, 2020
S’applique àArcGIS Runtime SDK for Android
Version trouvée1.1
Langue du programmeJava
Système d’exploitationWindows
Version du système d’exploitationXP 64 Bit
StatutIn Product Plan

Solution de contournement

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);}

Étapes pour reproduire

ID de bogue: NIM081301

Logiciel:

  • ArcGIS Runtime SDK for Android

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement