laptop and a wrench

漏洞

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.

上次发布: August 25, 2014 ArcGIS Runtime SDK for Android
漏洞 ID 编号 NIM081301
已提交May 31, 2012
上次修改时间June 11, 2020
适用范围ArcGIS Runtime SDK for Android
找到的版本1.1
编程语言Java
操作系统Windows
操作系统版本XP 64 Bit
状态In Product Plan

解决办法

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

重现步骤

漏洞 ID: NIM081301

软件:

  • ArcGIS Runtime SDK for Android

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项