<?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 Re: Map View in Fragment with Tab Action Bar in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661206#M4565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The Style problem is related to ActionBarSherlock. Here's a post that might help: &lt;A href="http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry"&gt;http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Andy&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error does not make the app crash. When I get the message in landscape mode, I can't navigate through the tabs (like if the Activity is frozen). However when I switch back to portrait mode, the app continues running just fine and I can still switch between tabs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw this post, and from what it says and from what I read elsewhere, this "error" is more of a warning and does not stop the app from running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the problem is with android:configChanges="orientation". It prevents the activity being recreated when the orientation of the device is changed, so that may be why the activity is unresponsive? Should I do something specific in onConfigurationChanged?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 13:45:13 GMT</pubDate>
    <dc:creator>AmelieBernier</dc:creator>
    <dc:date>2012-06-06T13:45:13Z</dc:date>
    <item>
      <title>Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661198#M4557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an application that uses ActionBarSherlock and Tab navigation with the Android compatibility library. I have 4 fragments that are attached or detached with FragmentTransaction depending on the selected tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the fragment should display a MapView, but I cannot seem to make it work.&amp;nbsp; Do you have examples of using a MapView within a fragment, or any tips for implementing this?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code. One of the things I tried is to simply retrieve the MapView from the XML Layout, but the app just crashes at startup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.ActionBar.Tab;
import com.actionbarsherlock.app.SherlockFragmentActivity; 
import android.os.Bundle;&amp;nbsp; 
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;

public class ActionBarTabsActivity extends SherlockFragmentActivity {&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
 @Override 
 public void onCreate(Bundle savedInstanceState) {&amp;nbsp; 
&amp;nbsp; super.onCreate(savedInstanceState); 
&amp;nbsp; 
&amp;nbsp; ActionBar actionBar = getSupportActionBar();&amp;nbsp; 
&amp;nbsp; actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; String label1 = getResources().getString(R.string.mapTabLabel);&amp;nbsp; 
&amp;nbsp; Tab tab = actionBar.newTab();&amp;nbsp; 
&amp;nbsp; tab.setText(label1);&amp;nbsp; 
&amp;nbsp; TabListener&amp;lt;MapFragment&amp;gt; tl = new TabListener&amp;lt;MapFragment&amp;gt;(this,&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; label1, MapFragment.class);&amp;nbsp; 
&amp;nbsp; tab.setTabListener(tl);&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; actionBar.addTab(tab); 
&amp;nbsp; 
&amp;nbsp; String label2 = getResources().getString(R.string.listTabLabel);&amp;nbsp; 
&amp;nbsp; tab = actionBar.newTab();&amp;nbsp; 
&amp;nbsp; tab.setText(label2);&amp;nbsp; 
&amp;nbsp; TabListener&amp;lt;ParkListFragment&amp;gt; tl2 = new TabListener&amp;lt;ParkListFragment&amp;gt;(this,&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; label2, ParkListFragment.class);&amp;nbsp; 
&amp;nbsp; tab.setTabListener(tl2);&amp;nbsp; 
&amp;nbsp; actionBar.addTab(tab);&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp; String label3 = getResources().getString(R.string.filtersTabLabel);&amp;nbsp; 
&amp;nbsp; tab = actionBar.newTab();&amp;nbsp; 
&amp;nbsp; tab.setText(label3);&amp;nbsp; 
&amp;nbsp; TabListener&amp;lt;FilterListFragment&amp;gt; tl3 = new TabListener&amp;lt;FilterListFragment&amp;gt;(this,&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; label3, FilterListFragment.class);&amp;nbsp; 
&amp;nbsp; tab.setTabListener(tl3);&amp;nbsp; 
&amp;nbsp; actionBar.addTab(tab);
&amp;nbsp; 
&amp;nbsp; String label4 = getResources().getString(R.string.aboutTabLabel);&amp;nbsp; 
&amp;nbsp; tab = actionBar.newTab();&amp;nbsp; 
&amp;nbsp; tab.setText(label4);&amp;nbsp; 
&amp;nbsp; TabListener&amp;lt;AboutFragment&amp;gt; tl4 = new TabListener&amp;lt;AboutFragment&amp;gt;(this,&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; label4, AboutFragment.class);&amp;nbsp; 
&amp;nbsp; tab.setTabListener(tl4);&amp;nbsp; 
&amp;nbsp; actionBar.addTab(tab);
&amp;nbsp; 
&amp;nbsp; // Restore the current activated tab index
&amp;nbsp; if (savedInstanceState != null) 
&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; actionBar.setSelectedNavigationItem(savedInstanceState.getInt("tab_index", 0));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }&amp;nbsp;&amp;nbsp; 
 }&amp;nbsp; 

 private class TabListener&amp;lt;T extends Fragment&amp;gt; implements ActionBar.TabListener {&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp; private Fragment mFragment;&amp;nbsp; 
&amp;nbsp; private final SherlockFragmentActivity mActivity;&amp;nbsp; 
&amp;nbsp; private final String mTag;&amp;nbsp; 
&amp;nbsp; private final Class&amp;lt;T&amp;gt; mClass;&amp;nbsp; 

&amp;nbsp; /**&amp;nbsp; 
&amp;nbsp;&amp;nbsp; * Constructor used each time a new tab is created.&amp;nbsp; 
&amp;nbsp;&amp;nbsp; *&amp;nbsp; 
&amp;nbsp;&amp;nbsp; * @param activity&amp;nbsp; 
&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The host Activity, used to instantiate the fragment&amp;nbsp; 
&amp;nbsp;&amp;nbsp; * @param tag&amp;nbsp; 
&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The identifier tag for the fragment&amp;nbsp; 
&amp;nbsp;&amp;nbsp; * @param clz&amp;nbsp; 
&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fragment's Class, used to instantiate the fragment&amp;nbsp; 
&amp;nbsp;&amp;nbsp; */ 

&amp;nbsp; public TabListener(SherlockFragmentActivity activity, String tag, Class&amp;lt;T&amp;gt; clz) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; mActivity = activity;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; mTag = tag;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; mClass = clz;&amp;nbsp; 
&amp;nbsp; }&amp;nbsp; 

&amp;nbsp; public void onTabSelected(Tab tab, FragmentTransaction ft) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; mFragment = mActivity.getSupportFragmentManager().findFragmentByTag(mTag); 
&amp;nbsp;&amp;nbsp; // Check if the fragment is already initialized&amp;nbsp; 
&amp;nbsp;&amp;nbsp; if (mFragment == null) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // If not, instantiate and add it to the activity&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; mFragment = Fragment.instantiate(mActivity, mClass.getName());&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ft.add(android.R.id.content, mFragment, mTag);&amp;nbsp; 
&amp;nbsp;&amp;nbsp; } else {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // If it exists, simply attach it in order to show it&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ft.attach(mFragment);&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp; }&amp;nbsp; 

&amp;nbsp; public void onTabUnselected(Tab tab, FragmentTransaction ft) {&amp;nbsp; 

&amp;nbsp;&amp;nbsp; if (mFragment != null) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Detach the fragment, because another one is being attached&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ft.detach(mFragment);&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp; }&amp;nbsp; 

&amp;nbsp; public void onTabReselected(Tab tab, FragmentTransaction ft) {&amp;nbsp; 

&amp;nbsp;&amp;nbsp; // User selected the already selected tab. Usually do nothing.&amp;nbsp; 
&amp;nbsp; }&amp;nbsp; 
 } 
 
 @Override 
 protected void onSaveInstanceState(Bundle outState) 
 {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; super.onSaveInstanceState(outState);
&amp;nbsp; // Save the current activated tab index
&amp;nbsp; outState.putInt("tab_index", getSupportActionBar().getSelectedNavigationIndex());&amp;nbsp;&amp;nbsp; 
 } 
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import com.esri.android.map.MapView;
import com.esri.android.map.ags.ArcGISTiledMapServiceLayer;
import android.os.Bundle;&amp;nbsp; 
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;&amp;nbsp; 
import android.view.View;&amp;nbsp; 
import android.view.ViewGroup;&amp;nbsp; 
import android.widget.LinearLayout;&amp;nbsp; 

public class MapFragment extends Fragment {&amp;nbsp; 
 
 MapView map;
 
 @Override 
 public View onCreateView(LayoutInflater inflater, ViewGroup container,&amp;nbsp; 
&amp;nbsp; Bundle savedInstanceState) {&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp; super.onCreate(savedInstanceState);
&amp;nbsp; 
&amp;nbsp; View layout = inflater.inflate(R.layout.map_test, container, false);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; // Retrieve the map and initial extent from XML layout
&amp;nbsp; map = (MapView) layout.findViewById(R.id.map_view);
 
&amp;nbsp; // Add dynamic layer to MapView
&amp;nbsp; map.addLayer(new ArcGISTiledMapServiceLayer(
&amp;nbsp;&amp;nbsp; "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"));
&amp;nbsp; 
&amp;nbsp; return (LinearLayout) layout;&amp;nbsp; 
 }&amp;nbsp; 
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;LinearLayout xmlns:android="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.android.com/apk/res/android" rel="nofollow" target="_blank"&gt;http://schemas.android.com/apk/res/android&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; android:id="@+id/map_layout" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; android:layout_width="fill_parent" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; android:layout_height="fill_parent" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; android:orientation="vertical"&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;!-- MapView layout and initial extent --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;com.esri.android.map.MapView xmlns:android="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.android.com/apk/res/android" rel="nofollow" target="_blank"&gt;http://schemas.android.com/apk/res/android&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; android:id="@+id/map_view"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; initExtent="490969 5452639 508730 5473334"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; android:layout_width="fill_parent"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; android:layout_height="fill_parent"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/com.esri.android.map.MapView&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/LinearLayout&amp;gt; [/HTML]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 19:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661198#M4557</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-04T19:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661199#M4558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Amelie, I haven't used Fragments much, but...logcat should give you some hints on what and where the problem is. I suggest posting the crash or FATAL error portion from logcat. &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, 05 Jun 2012 15:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661199#M4558</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-06-05T15:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661200#M4559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that I had a problem with the Internet connection at job which caused the app to crash when adding the layers to the mapview. But there is still a problem with the MapView...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the app starts correctly and the MapView is loaded. The map appears in the first tab. However, when I try to switch to a new tab, the app crashes. When there is no MapView in the Fragment (only a simple TextView), everything works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the LogCat after application startup :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.592: W/dalvikvm(10355): VFY: unable to resolve virtual method 4533: Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.onHoverEvent (Landroid/view/MotionEvent;)Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.602: W/dalvikvm(10355): VFY: unable to resolve virtual method 3174: Landroid/widget/FrameLayout;.getAlpha ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.602: W/dalvikvm(10355): VFY: unable to resolve virtual method 3175: Landroid/widget/FrameLayout;.getTranslationY ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.602: W/dalvikvm(10355): VFY: unable to resolve virtual method 3182: Landroid/widget/FrameLayout;.setAlpha (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.602: W/dalvikvm(10355): VFY: unable to resolve virtual method 3191: Landroid/widget/FrameLayout;.setTranslationY (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.622: W/dalvikvm(10355): VFY: unable to resolve virtual method 280: Landroid/content/pm/PackageManager;.getActivityLogo (Landroid/content/ComponentName;)Landroid/graphics/drawable/Drawable;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.622: W/dalvikvm(10355): VFY: unable to resolve virtual method 277: Landroid/content/pm/ApplicationInfo;.loadLogo (Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2884: Landroid/view/ViewGroup;.getAlpha ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2890: Landroid/view/ViewGroup;.getTranslationX ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2891: Landroid/view/ViewGroup;.getTranslationY ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2907: Landroid/view/ViewGroup;.setAlpha (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2911: Landroid/view/ViewGroup;.setTranslationX (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.682: W/dalvikvm(10355): VFY: unable to resolve virtual method 2912: Landroid/view/ViewGroup;.setTranslationY (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.692: W/dalvikvm(10355): VFY: unable to resolve virtual method 5393: Lcom/actionbarsherlock/internal/widget/ActionBarView$HomeView;.onHoverEvent (Landroid/view/MotionEvent;)Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.692: W/dalvikvm(10355): VFY: unable to resolve virtual method 3180: Landroid/widget/FrameLayout;.onPopulateAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.722: W/dalvikvm(10355): VFY: unable to resolve virtual method 3206: Landroid/widget/HorizontalScrollView;.getAlpha ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.722: W/dalvikvm(10355): VFY: unable to resolve virtual method 3209: Landroid/widget/HorizontalScrollView;.setAlpha (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.722: W/dalvikvm(10355): VFY: unable to resolve direct method 3259: Landroid/widget/LinearLayout;.&amp;lt;init&amp;gt; (Landroid/content/Context;Landroid/util/AttributeSet;I)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.732: W/dalvikvm(10355): VFY: unable to resolve virtual method 3265: Landroid/widget/LinearLayout;.getAlpha ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.732: W/dalvikvm(10355): VFY: unable to resolve virtual method 3270: Landroid/widget/LinearLayout;.getTranslationX ()F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.732: W/dalvikvm(10355): VFY: unable to resolve virtual method 3280: Landroid/widget/LinearLayout;.setAlpha (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.732: W/dalvikvm(10355): VFY: unable to resolve virtual method 3290: Landroid/widget/LinearLayout;.setTranslationX (F)V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:47.742: W/dalvikvm(10355): VFY: unable to resolve static field 5851 (ROOT) in Ljava/util/Locale;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:48.772: D/GLMapCore(10355): Thread 10366 = Pulse&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:48.772: D/GLMapCore(10355): Thread 10365 = Dispatch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:48.772: D/GLMapCore(10355): Thread 10364 = Worker 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:48.772: D/GLMapCore(10355): Thread 10363 = Worker 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:48.932: W/dalvikvm(10355): VFY: unable to resolve virtual method 2808: Landroid/view/View;.jumpDrawablesToCurrentState ()V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:24:50.582: D/GLMapCore(10355): Map spatial reference set to 102100&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And these two lines appear when attemptimg to switch tab:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:25:40.282: I/GLMapCore(10355): TexturesManager::releaseGraphicsHardwareResources&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:25:40.282: E/libEGL(10355): call to OpenGL ES API with no current context (logged once per thread)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 16:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661200#M4559</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-05T16:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661201#M4560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Amelie, just reiterating that I haven't worked much with Fragments, however I have seen similar errors to the last two lines you posted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:25:40.282: I/GLMapCore(10355): TexturesManager::releaseGraphicsHardwareResources&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;06-05 13:25:40.282: E/libEGL(10355): call to OpenGL ES API with no current context (logged once per thread)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I can think of is make sure the AndroidManifest is configured properly. There may be a property that is needed. Hopefully someone else who has used Fragments can jump in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developer.android.com/guide/topics/manifest/activity-element.html"&gt;http://developer.android.com/guide/topics/manifest/activity-element.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 16:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661201#M4560</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-06-05T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661202#M4561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay so I may have made some progress on this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I replace ft.attach and ft.detach in the TabListener of ActionBarTabsActivity with ft.show and ft.hide, navigating through the tabs works correctly with the MapView.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I rotate the phone, the app crashes with the same error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;call to OpenGL ES API with no current context (logged once per thread)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 22:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661202#M4561</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-05T22:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661203#M4562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Related to the app crashing when you change orientation, try adding the following line to your AndroidManifest android:configChanges="orientation", for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activity android:name=".AGSLocatorActivity"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:label="@string/app_name"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:configChanges="orientation"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intent-filter&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;action android:name="android.intent.action.MAIN" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;category android:name="android.intent.category.LAUNCHER" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intent-filter&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activity&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activity android:name="com.esri.arcgis.android.agslocator.WebviewActivity"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activity&amp;gt; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661203#M4562</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-12-12T03:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661204#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Related to the app crashing when you change orientation, try adding the following line to your AndroidManifest android:configChanges="orientation"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this and now the app doesn't crash when the device is rotated. However there is still a problem : once the phone is in landscape mode, if I select a new Tab I get the following error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;06-06 08:58:53.221: E/ResourceType(14078): Style contains key with bad entry: 0x01000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then if I switch back to portrait mode, everything works fine again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 12:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661204#M4563</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-06T12:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661205#M4564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Style problem is related to ActionBarSherlock. Here's a post that might help: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry"&gt;http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661205#M4564</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-06-06T13:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661206#M4565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The Style problem is related to ActionBarSherlock. Here's a post that might help: &lt;A href="http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry"&gt;http://stackoverflow.com/questions/9686818/actionbarsherlock-style-contains-key-with-bad-entry&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Andy&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error does not make the app crash. When I get the message in landscape mode, I can't navigate through the tabs (like if the Activity is frozen). However when I switch back to portrait mode, the app continues running just fine and I can still switch between tabs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw this post, and from what it says and from what I read elsewhere, this "error" is more of a warning and does not stop the app from running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the problem is with android:configChanges="orientation". It prevents the activity being recreated when the orientation of the device is changed, so that may be why the activity is unresponsive? Should I do something specific in onConfigurationChanged?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661206#M4565</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-06T13:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661207#M4566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think that the problem is with android:configChanges="orientation". It prevents the activity being recreated when the orientation of the device is changed, so that may be why the activity is unresponsive? Should I do something specific in onConfigurationChanged?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good question, I'm not certain how this problem relates to ActionBarSherlock, or what changes to make to onConfigurationChanged.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On our end, we are investigating the current requirement, in certain circumstances. for the inclusion of android:configChanges="orientation" and android:configChanges="orientation|screenSize" (for versions of Android OS 3.2 and higher) in the AndroidManifest. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do know that if you manually handle onConfigurationChanged you also have to reset any element. Here's a snippet from the &lt;/SPAN&gt;&lt;A href="http://developer.android.com/guide/topics/resources/runtime-changes.html"&gt; Android Help doc&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Remember: When you declare your activity to handle a configuration change, you are responsible for resetting any elements for which you provide alternatives. If you declare your activity to handle the orientation change and have images that should change between landscape and portrait, you must re-assign each resource to each element during onConfigurationChanged().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 14:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661207#M4566</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-06-06T14:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661208#M4567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Good question, I'm not certain how this problem relates to ActionBarSherlock, or what changes to make to onConfigurationChanged.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems that using android:configChanges="orientation" with ActionBarSherlock is not allowing the fake decor view that ActionBarSherlock installs to be re-initialized on rotation (&lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/10055264/actionbarsherlock-tabs-unresponsive-in-landscape-orientation"&gt;http://stackoverflow.com/questions/10055264/actionbarsherlock-tabs-unresponsive-in-landscape-orientation&lt;/A&gt;&lt;SPAN&gt;). That explains the unresponsive action bar!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MapView have a very strange behavior. For example, removing a Fragment which contains a MapView using FragmentTransaction will cause the app to crash with the "call to OpenGL ES API with no current context (logged once per thread)" error. The same error also happens when trying to remove a MapView from its parent (see this post : &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/57684-activity-gets-killed-when-the-mapview-is-disposed"&gt;http://forums.arcgis.com/threads/57684-activity-gets-killed-when-the-mapview-is-disposed&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is too bad that we have to use android:configChanges="orientation" to handle the MapView. This is not a recommended practice. I wonder why the MapView behaves this way? I have other types of View in my app (TextView, LiostView) and they don't cause the same problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 19:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661208#M4567</guid>
      <dc:creator>AmelieBernier</dc:creator>
      <dc:date>2012-06-06T19:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Map View in Fragment with Tab Action Bar</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661209#M4568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;The MapView have a very strange behavior. For example, removing a Fragment which contains a MapView using FragmentTransaction will cause the app to crash with the "call to OpenGL ES API with no current context (logged once per thread)" error. The same error also happens when trying to remove a MapView from its parent (see this post : &lt;A href="http://forums.arcgis.com/threads/57684-activity-gets-killed-when-the-mapview-is-disposed"&gt;http://forums.arcgis.com/threads/57684-activity-gets-killed-when-the-mapview-is-disposed&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;It is too bad that we have to use android:configChanges="orientation" to handle the MapView. This is not a recommended practice. I wonder why the MapView behaves this way? I have other types of View in my app (TextView, LiostView) and they don't cause the same problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still having the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've contacted support about this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They are working on it, but it seems to be a complicated problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also using the mapview in a fragment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I made the remove view sample to show where the problem arises.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(In the previous api release there was a bug when the back button was pressed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Graphics layers wouldn't show up when the activity was shown again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved this by ending the process in code when the back button was pressed in the map activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem was solved in the 1.1.1 release, but somehow it now looks like the whole process is killed when the mapview gets garbage collected.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I couldn't find a workaround for this behavior.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 06:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-view-in-fragment-with-tab-action-bar/m-p/661209#M4568</guid>
      <dc:creator>GwenRoyakkers1</dc:creator>
      <dc:date>2012-06-18T06:02:20Z</dc:date>
    </item>
  </channel>
</rss>

