<?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: tpk layer in the mmpk do not display in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291378#M1951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this seems to work ok on .NET at least assuming this is what you were expecting. I'll ask someone to check it in Andoird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/410591_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2018 10:22:58 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2018-06-05T10:22:58Z</dc:date>
    <item>
      <title>tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291375#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to load a mmpk contains tpk layer, the loading is successful, except that the tpk layer does not diaplay, I use the sample code to load the mmpk, I use the most recent SDK 100.2.1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #000000;"&gt;mMapPackage &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;MobileMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;mmpkFile&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// load the mobile map package asynchronously&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;loadAsync&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// add done listener which will invoke when mobile map package has loaded&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;addDoneLoadingListener&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;Runnable&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #006666;"&gt;@Override&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;public&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;void&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; run&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// check load status and that the mobile map package has maps&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;if&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getLoadStatus&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;==&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;LoadStatus&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;LOADED &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getMaps&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;().&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;size&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #006666;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// add the map from the mobile map package to the MapView&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mMapView&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;setMap&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getMaps&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;().&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;get&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #006666;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;));&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;else&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// Log an issue if the mobile map package fails to load&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;Log&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;e&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;TAG&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; mMapPackage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getLoadError&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;().&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getMessage&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;());&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;it looks like this, the highway is a vector layer in the mmpk, the .tpk (states layer) is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;IMG __jive_id="409042" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/409042_1765045214.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;I can load it in the ArcGIS explorer, the result is perfect. it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;IMG __jive_id="409046" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/409046_20379584.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Did anyone experience this problem?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291375#M1948</guid>
      <dc:creator>VeroniqueXie</dc:creator>
      <dc:date>2021-12-11T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291376#M1949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share the mmpk that you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 11:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291376#M1949</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2018-05-29T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291377#M1950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Thanks for replying, here is the mmpk I used for test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 09:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291377#M1950</guid>
      <dc:creator>VeroniqueXie</dc:creator>
      <dc:date>2018-06-05T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291378#M1951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this seems to work ok on .NET at least assuming this is what you were expecting. I'll ask someone to check it in Andoird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/410591_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 10:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291378#M1951</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2018-06-05T10:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291379#M1952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veronique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested this on my Android device (ASUS A002) on 100.2.1 and can't replicate the problem. Can I ask what device you're using?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291379#M1952</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-05T11:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: tpk layer in the mmpk do not display</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291380#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Trevor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you very much for your time. I test the code on a Nexus 6p, with android 8.1, and using the SDK of 100.2.1.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 14:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/tpk-layer-in-the-mmpk-do-not-display/m-p/291380#M1953</guid>
      <dc:creator>VeroniqueXie</dc:creator>
      <dc:date>2018-06-06T14:51:37Z</dc:date>
    </item>
  </channel>
</rss>

