<?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 How To Set Up My ArcGis Server,Then I Can Us Android Runtime SDK in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-to-set-up-my-arcgis-server-then-i-can-us/m-p/353458#M2257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running the Demo project&lt;/P&gt;&lt;P&gt;and add a layer use the official ArcGIS Server,like this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt; ");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mMapView.addLayer(tileLayer);&lt;/P&gt;&lt;P&gt;the Demo is working well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i use my own server url replace the official ArcGIS Server,like this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow" target="_blank"&gt;http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;&lt;SPAN&gt; ");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mMapView.addLayer(tileLayer);&lt;/P&gt;&lt;P&gt;there is a running error is the Logcat and no map show in MapView&lt;/P&gt;&lt;P&gt;&lt;IMG alt="20150318111007.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/75305_20150318111007.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have install ArcGIS For Server,and&amp;nbsp; a service named SampleWorldCities is running.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And i can visit the url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow" target="_blank"&gt;http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;&lt;SPAN&gt; in explorer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services//SampleWorldCities/MapServer?f=jsapi" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services//SampleWorldCities/MapServer?f=jsapi&lt;/A&gt;&lt;SPAN&gt; can show the map in explorer too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 03:29:22 GMT</pubDate>
    <dc:creator>凯钱</dc:creator>
    <dc:date>2015-03-18T03:29:22Z</dc:date>
    <item>
      <title>How To Set Up My ArcGis Server,Then I Can Us Android Runtime SDK</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-set-up-my-arcgis-server-then-i-can-us/m-p/353458#M2257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running the Demo project&lt;/P&gt;&lt;P&gt;and add a layer use the official ArcGIS Server,like this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt; ");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mMapView.addLayer(tileLayer);&lt;/P&gt;&lt;P&gt;the Demo is working well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i use my own server url replace the official ArcGIS Server,like this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow" target="_blank"&gt;http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;&lt;SPAN&gt; ");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mMapView.addLayer(tileLayer);&lt;/P&gt;&lt;P&gt;there is a running error is the Logcat and no map show in MapView&lt;/P&gt;&lt;P&gt;&lt;IMG alt="20150318111007.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/75305_20150318111007.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have install ArcGIS For Server,and&amp;nbsp; a service named SampleWorldCities is running.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And i can visit the url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow" target="_blank"&gt;http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;&lt;SPAN&gt; in explorer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services//SampleWorldCities/MapServer?f=jsapi" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services//SampleWorldCities/MapServer?f=jsapi&lt;/A&gt;&lt;SPAN&gt; can show the map in explorer too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 03:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-set-up-my-arcgis-server-then-i-can-us/m-p/353458#M2257</guid>
      <dc:creator>凯钱</dc:creator>
      <dc:date>2015-03-18T03:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: How To Set Up My ArcGis Server,Then I Can Us Android Runtime SDK</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-set-up-my-arcgis-server-then-i-can-us/m-p/353459#M2258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433; text-decoration: underline;" target="_blank"&gt;http://192.168.0.133:6080/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;​ a DynamicService? &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;ArcGISTiledMapServiceLayer&lt;/STRONG&gt; works with tiledservices. use &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;ArcGISDynamicMapServiceLayer&lt;/STRONG&gt; class if it is dynamic.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Mar 2015 04:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-set-up-my-arcgis-server-then-i-can-us/m-p/353459#M2258</guid>
      <dc:creator>omega_cancer</dc:creator>
      <dc:date>2015-03-22T04:06:26Z</dc:date>
    </item>
  </channel>
</rss>

