<?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 Popup In Web Map For Viewing Sample in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/popup-in-web-map-for-viewing-sample/m-p/282148#M1873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the ESRI example and when I initialize the mapview by&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map = (MapView)findViewById(R.id.map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;map.addLayer(new com.esri.android.map.ags.ArcGISDynamicMapServiceLayer( "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/rest/services/android/MapServer"));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it works fine and I can see the map on my mobile tablet, but I've got no popup-Info, because the popupinfo is stored in the webmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus I followed the instructions "Publishing Maps to your ArcGIS Server" and extracted and stored the json of the webmap on our server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I initalize the mapView in my Android application by&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;map = new MapView(this, "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/Mobile/Content/items/ca2a3d910dc048b4ba17218ade3cdd9a", "", "");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this fails with the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;09-26 16:10:34.491: E/ArcGIS(9441): Can not init the MapView from the given WebMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09-26 16:10:34.491: E/ArcGIS(9441): com.esri.core.io.EsriServiceException: Not Found&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what's wrong. Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If I enter the URL of the content server &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/Mobile/Content/items into my mobile web browser it shows, that my device has access to the hosted map content.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 13:17:04 GMT</pubDate>
    <dc:creator>FrankHochstrate</dc:creator>
    <dc:date>2012-09-26T13:17:04Z</dc:date>
    <item>
      <title>Popup In Web Map For Viewing Sample</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/popup-in-web-map-for-viewing-sample/m-p/282148#M1873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the ESRI example and when I initialize the mapview by&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map = (MapView)findViewById(R.id.map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;map.addLayer(new com.esri.android.map.ags.ArcGISDynamicMapServiceLayer( "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/rest/services/android/MapServer"));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it works fine and I can see the map on my mobile tablet, but I've got no popup-Info, because the popupinfo is stored in the webmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus I followed the instructions "Publishing Maps to your ArcGIS Server" and extracted and stored the json of the webmap on our server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I initalize the mapView in my Android application by&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;map = new MapView(this, "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/Mobile/Content/items/ca2a3d910dc048b4ba17218ade3cdd9a", "", "");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this fails with the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;09-26 16:10:34.491: E/ArcGIS(9441): Can not init the MapView from the given WebMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09-26 16:10:34.491: E/ArcGIS(9441): com.esri.core.io.EsriServiceException: Not Found&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what's wrong. Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If I enter the URL of the content server &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myServer&amp;gt;/ArcGIS/Mobile/Content/items into my mobile web browser it shows, that my device has access to the hosted map content.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 13:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/popup-in-web-map-for-viewing-sample/m-p/282148#M1873</guid>
      <dc:creator>FrankHochstrate</dc:creator>
      <dc:date>2012-09-26T13:17:04Z</dc:date>
    </item>
  </channel>
</rss>

