<?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: Arcgis server  Rest Service not load in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-server-rest-service-not-load/m-p/1165500#M5736</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Can you print your load error for the layer and see the exception and its cause/message ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mapImageLayer.getLoadError()&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2022 23:27:45 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2022-04-18T23:27:45Z</dc:date>
    <item>
      <title>Arcgis server  Rest Service not load</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-server-rest-service-not-load/m-p/1164605#M5733</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;below is my rest service url.&lt;/P&gt;&lt;P&gt;&lt;A href="https://domainname/server/rest/services/servicename/MapServer.when" target="_blank" rel="noopener"&gt;https://domainname/server/rest/services/servicename/MapServer.when&lt;/A&gt;&amp;nbsp;i want to load in my android application.below is my code.&lt;/P&gt;&lt;PRE&gt;mapImageLayer = new ArcGISMapImageLayer("&lt;A href="https://domainname/server/rest/services/servicename/MapServer.when" target="_blank" rel="noopener"&gt;https://domainname/server/rest/services/servicename/MapServer&lt;/A&gt;");&lt;BR /&gt;map.getOperationalLayers().add(mapImageLayer);&lt;BR /&gt;mMapView.setViewpoint(new Viewpoint(23.056295, 46.195800, 29000000));&lt;BR /&gt;GraphicsOverlay graphicsOverlay = addGraphicsOverlay(mMapView);&lt;BR /&gt;mMapView.setMap(map);&lt;BR /&gt;// Add a listener that is invoked when layer loading has completed.&lt;BR /&gt;mapImageLayer.addDoneLoadingListener(() -&amp;gt; {&lt;BR /&gt;    if (mapImageLayer.getLoadStatus() == LoadStatus.LOADED) {&lt;BR /&gt;        ArcGISMapServiceInfo mapServiceInfo = mapImageLayer.getMapServiceInfo();&lt;BR /&gt;    }&lt;BR /&gt;    else if(mapImageLayer.getLoadStatus()==LoadStatus.FAILED_TO_LOAD)&lt;BR /&gt;{&lt;BR /&gt;            Toast.makeText(getApplicationContext(), LoadStatus.FAILED_TO_LOAD.toString(), Toast.LENGTH_LONG).show();&lt;BR /&gt;        }&lt;BR /&gt;but always load status failed execute.&lt;BR /&gt;&lt;BR /&gt; But when i change URL from this service &lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer" target="_blank" rel="noopener"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer&lt;/A&gt;.&lt;BR /&gt;map visible on mobile.it shows that some problem in my rest service.when i troubleshoot i check that "Mobile Data Access" in capabilies is missing in my&lt;BR /&gt;arcgis server  missing.My arcgis server is 10.7.my arcinfo is 10.7.for this i am adding image &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mobile.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38954i60CCE52617A85F51/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mobile.png" alt="Mobile.png" /&gt;&lt;/span&gt;&lt;BR /&gt;so please help me.why arcmap or arcgis server missing this option.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;that there is one option ""&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 21:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-server-rest-service-not-load/m-p/1164605#M5733</guid>
      <dc:creator>Nadir_Hussain</dc:creator>
      <dc:date>2022-04-14T21:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis server  Rest Service not load</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-server-rest-service-not-load/m-p/1165500#M5736</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Can you print your load error for the layer and see the exception and its cause/message ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mapImageLayer.getLoadError()&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 23:27:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-server-rest-service-not-load/m-p/1165500#M5736</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2022-04-18T23:27:45Z</dc:date>
    </item>
  </channel>
</rss>

