<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Exception with Callout on map after returning from showing another activity in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-with-callout-on-map-after-returning-from/m-p/146431#M1058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When there is a Callout on the map and I start another activity, I can not go back to the MapView without crashing the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;logcat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;05-08 12:32:38.820: W/dalvikvm(12765): threadid=13: thread exiting with uncaught exception (group=0x40a581f8)
05-08 12:32:38.871: E/AndroidRuntime(12765): FATAL EXCEPTION: GLThread 998
05-08 12:32:38.871: E/AndroidRuntime(12765): android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4039)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:709)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.widget.RelativeLayout.requestLayout(RelativeLayout.java:268)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.refresh(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.MapView$1.onMapSurfaceSizeChanged(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.MapSurface.onSurfaceChanged(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody reproduce this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This also happens in the official ArcGIS Android App!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Single tab the map to get a Callout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Then select map details from the optionsmenu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Go back to the MapView with the back button or the ImageButton in the upper left corner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; The app crashes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@esri guys: Should I also post this to the ArcGIS for Android Apps section of this Forum?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This happens in my App and in the ArcGIS Android App on my phone (Android 4.0.4) and on my tablet (Galaxy Tab 10.1n Android 3.2).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 09:40:50 GMT</pubDate>
    <dc:creator>SimonKlein</dc:creator>
    <dc:date>2012-05-08T09:40:50Z</dc:date>
    <item>
      <title>Exception with Callout on map after returning from showing another activity</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-with-callout-on-map-after-returning-from/m-p/146431#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When there is a Callout on the map and I start another activity, I can not go back to the MapView without crashing the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;logcat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;05-08 12:32:38.820: W/dalvikvm(12765): threadid=13: thread exiting with uncaught exception (group=0x40a581f8)
05-08 12:32:38.871: E/AndroidRuntime(12765): FATAL EXCEPTION: GLThread 998
05-08 12:32:38.871: E/AndroidRuntime(12765): android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4039)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:709)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.widget.RelativeLayout.requestLayout(RelativeLayout.java:268)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.view.View.requestLayout(View.java:12675)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.refresh(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout$CalloutInner.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.Callout.show(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.MapView$1.onMapSurfaceSizeChanged(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at com.esri.android.map.MapSurface.onSurfaceChanged(Unknown Source)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1455)
05-08 12:32:38.871: E/AndroidRuntime(12765):&amp;nbsp; at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody reproduce this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This also happens in the official ArcGIS Android App!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Single tab the map to get a Callout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Then select map details from the optionsmenu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Go back to the MapView with the back button or the ImageButton in the upper left corner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; The app crashes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@esri guys: Should I also post this to the ArcGIS for Android Apps section of this Forum?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This happens in my App and in the ArcGIS Android App on my phone (Android 4.0.4) and on my tablet (Galaxy Tab 10.1n Android 3.2).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 09:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-with-callout-on-map-after-returning-from/m-p/146431#M1058</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-05-08T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exception with Callout on map after returning from showing another activity</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-with-callout-on-map-after-returning-from/m-p/146432#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@simra, thanks for the heads up. I was able to duplicate that on the ArcGIS app. I'm passing it on to tech support for further analysis and to write up a CR. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running Android v2.3.6 on an Moto Atrix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Update: this has been logged as NIM080657 if you want to track it]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 14:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-with-callout-on-map-after-returning-from/m-p/146432#M1059</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-05-08T14:50:11Z</dc:date>
    </item>
  </channel>
</rss>

