<?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: Need best practice advice for using several maps in an Android app in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664079#M4584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the quick response, even though it was bad news for me. I am now trying something different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a front page activity with a listview. Two of the choices lead to activities that causes maps to be displayed. I start the first activity and initialize and display the map. When the user hits the "back"-key I remove/clean up the map in the onStop method, and the front page is displayed again. When the user selects the second choice, I do exactly the same thing with a different map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the following in onStop:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LocationService ls = map.getLocationService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ls.stop();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;graphicsLayer.recycle();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.recycle();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the app behaves unpredictably. Sometimes it works, sometimes it crashes or hangs with no error messages. Sometimes the recycle() command causes "call to OpenGL ES API with no current context (logged once per thread)" to appear in LogCat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the correct way (if possible) to clean up a map session when the map activity is finished?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 10:58:13 GMT</pubDate>
    <dc:creator>FredrikPaasche</dc:creator>
    <dc:date>2012-01-26T10:58:13Z</dc:date>
    <item>
      <title>Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664077#M4582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to display a map several places in an Android app. My problem is that the first map I create works fine, but the second one will not display the current position or any graphic markers. The maps are in different activities. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to call map.recycle() when pausing the first activity, and this makes the second map display the graphic markers, but then I need to recreate the first map all over again, which causes me to think that I am going the wrong way about this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code used to create the maps are identical in the two activities, except for the resource IDs which are different. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way (or correct way) to have two maps active in two different activities in the same app? What should be done in the onCreate, onDestroy, onPause and onResume?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Credentials to access the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;String tokenServiceUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://somewhere/arcgis/tokens" rel="nofollow" target="_blank"&gt;https://somewhere/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String userName = "secret";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String password = "secret";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UserCredentials credentials =&amp;nbsp; new UserCredentials();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;credentials.setTokenServiceUrl(tokenServiceUrl);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;credentials.setUserAccount(userName, password);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Initialize the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map = (MapView) findViewById(R.id.closebyMap); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;String mapUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://path_to_mapserver" rel="nofollow" target="_blank"&gt;http://path_to_mapserver&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer(mapUrl, credentials);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(tiledLayer); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;graphicsLayer = new GraphicsLayer();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(graphicsLayer);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I set up a setOnStatusChangedListener, wait until I get INITIALIZED, then add graphic markers and start localization. When receiving location changed, I zoom the map to the current location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664077#M4582</guid>
      <dc:creator>FredrikPaasche</dc:creator>
      <dc:date>2012-01-25T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664078#M4583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This workflow is unsupported as we only &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/help/#/What_s_new_in_version_1_0_1/01190000002p000000/"&gt;support one map running in an application at a time&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; This is a known issue with our current release of the SDK and we are looking into supporting this in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 20:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664078#M4583</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2012-01-25T20:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664079#M4584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the quick response, even though it was bad news for me. I am now trying something different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a front page activity with a listview. Two of the choices lead to activities that causes maps to be displayed. I start the first activity and initialize and display the map. When the user hits the "back"-key I remove/clean up the map in the onStop method, and the front page is displayed again. When the user selects the second choice, I do exactly the same thing with a different map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the following in onStop:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LocationService ls = map.getLocationService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ls.stop();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;graphicsLayer.recycle();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.recycle();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the app behaves unpredictably. Sometimes it works, sometimes it crashes or hangs with no error messages. Sometimes the recycle() command causes "call to OpenGL ES API with no current context (logged once per thread)" to appear in LogCat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the correct way (if possible) to clean up a map session when the map activity is finished?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 10:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664079#M4584</guid>
      <dc:creator>FredrikPaasche</dc:creator>
      <dc:date>2012-01-26T10:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664080#M4585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bumping this last question. What's the proper way to recycle/destroy/free up resources for an ArcGIS Map? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting lots of weird side effects, even when working with one map - such as when I close my application, then restart it, graphics will no longer be visible on the graphics layer (this problem even exists when there is only one map). In order for the graphics to become visible again, I must close the application, then 'Force Stop' my application and re-open. The graphics will now be visible again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This perhaps seems like a problem of resources no getting cleaned up? But how should we do so?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 12:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664080#M4585</guid>
      <dc:creator>PatrickDoody</dc:creator>
      <dc:date>2012-02-13T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664081#M4586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Bumping this last question. What's the proper way to recycle/destroy/free up resources for an ArcGIS Map? &lt;BR /&gt;&lt;BR /&gt;I'm getting lots of weird side effects, even when working with one map - such as when I close my application, then restart it, graphics will no longer be visible on the graphics layer (this problem even exists when there is only one map). In order for the graphics to become visible again, I must close the application, then 'Force Stop' my application and re-open. The graphics will now be visible again.&lt;BR /&gt;&lt;BR /&gt;This perhaps seems like a problem of resources no getting cleaned up? But how should we do so?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried invalidating the map upon resume to see if the redraw happens?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 14:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664081#M4586</guid>
      <dc:creator>JozefKaslikowski</dc:creator>
      <dc:date>2012-02-13T14:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664082#M4587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you tried invalidating the map upon resume to see if the redraw happens?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I've tried invalidate and postInvalidate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 15:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664082#M4587</guid>
      <dc:creator>PatrickDoody</dc:creator>
      <dc:date>2012-02-13T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664083#M4588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, I've tried invalidate and postInvalidate.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about when stepping through, are all of the objects still counted in the GraphicsLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't mean to ask basic questions, but I haven't experienced this and I have three such layers at a time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 16:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664083#M4588</guid>
      <dc:creator>JozefKaslikowski</dc:creator>
      <dc:date>2012-02-13T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664084#M4589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What about when stepping through, are all of the objects still counted in the GraphicsLayer?&lt;BR /&gt;&lt;BR /&gt;I don't mean to ask basic questions, but I haven't experienced this and I have three such layers at a time.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No worries! The graphics layer exists, graphics and their symbology are properly created and are contained in that layer. The layer simply will not be visible on the map. This is often triggered when two maps are open in the same application, but I have encountered this numerous times when the second map is not opened at all - however that one is a bit more intermittent. I can reproduce this issue every time using two maps, however with one map it's a bit more random and I've yet to pin it down.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 16:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664084#M4589</guid>
      <dc:creator>PatrickDoody</dc:creator>
      <dc:date>2012-02-13T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664085#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What's the proper way to recycle/destroy/free up resources for an ArcGIS Map? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should implement the following Activity methods in the class with your MapView&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; MapView map;

&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void onDestroy() {
&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;&amp;nbsp; super.onDestroy();
&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;&amp;nbsp; map.recycle();
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void onPause() {
&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;&amp;nbsp; super.onPause();
&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;&amp;nbsp; map.pause();
&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;&amp;nbsp;&amp;nbsp; @Override
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void onResume() {
&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;&amp;nbsp; super.onResume();
&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;&amp;nbsp;&amp;nbsp; map.unpause();
&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; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We do not support multiple MapViews with this release of the SDK.&amp;nbsp; This is a limitation of our current implementation and there is no workaround unfortunately.&amp;nbsp;&amp;nbsp; We are working to resolve this in the next release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664085#M4590</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2021-12-12T04:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664086#M4591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We do not support multiple MapViews with this release of the SDK.&amp;nbsp; This is a limitation of our current implementation and there is no workaround unfortunately.&amp;nbsp;&amp;nbsp; We are working to resolve this in the next release.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevermind, I read the answer. My bad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 18:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664086#M4591</guid>
      <dc:creator>JozefKaslikowski</dc:creator>
      <dc:date>2012-02-14T18:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664087#M4592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this thread is old, but has a solution been found to using multiple maps in offline mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to add multiple maps to a MapView, but the screen only allows me to see the first map that is loaded. I can tell the second map loads, but I cannot scroll or navigate to the area of the second map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 19:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664087#M4592</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2013-01-28T19:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664088#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any update on this issue? I am still looking for a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664088#M4593</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2013-07-08T14:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664089#M4594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has the issue of the multiple map views been resolved with the latest release ?&amp;nbsp; If so where can I find concise documentation on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David A.&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Southern Cross Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664089#M4594</guid>
      <dc:creator>DavidAstle</dc:creator>
      <dc:date>2016-06-02T19:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664090#M4595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the current release of ArcGIS Runtime SDK for Android (10.2.8) supports multiple MapViews in one app, or within the same layout if you want. I think this has been true for a number of releases, but I couldn't say for sure myself exactly what release this changed at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 09:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664090#M4595</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2016-06-03T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664091#M4596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply, is there any documentation on how to add a second map layer to an existing map layer?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664091#M4596</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2016-06-03T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664092#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shelley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried updating the SDK and it still doesn't work. We are using two separate activities that host the same map vew fragment. When we launch the first map view it works ok. We switch activities and second map view is working as well, but when we switch back to the first activity map it freezes.  That is the primary error we see.  Sometimes the second map will work ok, but when we switch back to the first one, it will freeze.  Is there another factor we are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Astle, GIS Analyst&lt;/P&gt;&lt;P&gt;Southern Cross&amp;lt;http://southerncrossinc.com/index.html&amp;gt; | O: 770-326-6476 | M: 470-539-2139&lt;/P&gt;&lt;P&gt;3175 Corners North Ct. Peachtree Corners, GA 30071&lt;/P&gt;&lt;P&gt;Trusted Partner of Utilities Everywhere Since 1946&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664092#M4597</guid>
      <dc:creator>DavidAstle</dc:creator>
      <dc:date>2016-06-03T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664093#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post any errors that logcat is showing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664093#M4598</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2016-06-06T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664094#M4599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are multiple maps supported in the current version (100.1.0)?&lt;STRONG style="color: #ffffff; font-weight: 500;"&gt;&amp;nbsp;100.1.0&lt;/STRONG&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 22:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664094#M4599</guid>
      <dc:creator>BillMyers</dc:creator>
      <dc:date>2017-07-26T22:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664095#M4600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/bmyers5000"&gt;bmyers5000&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you be a little more descriptive on what you mean by multiple maps? &amp;nbsp;Do you mean multiple maps in the same app or in the same view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664095#M4600</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-27T13:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need best practice advice for using several maps in an Android app</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664096#M4601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is what Bill is looking for, but I am looking for a way to show multiple offline tpk files in the same view. I want to be able to load my tablet with multiple map files and have them all display at one time. Right now, I can only show one map at a time and the user has to select which map they want to see.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 14:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/need-best-practice-advice-for-using-several-maps/m-p/664096#M4601</guid>
      <dc:creator>GSauers</dc:creator>
      <dc:date>2017-07-31T14:20:49Z</dc:date>
    </item>
  </channel>
</rss>

