<?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: Retrieving Basemap via HTTPS in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47073#M380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the URL of your TiledServiceLayer? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your onCreate method in java file, do the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hljs-comment" style="color: #999988; font-style: italic; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;// Retrieve the MapView from XML layout.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;mMapView = (MapView) findViewById(R.id.map);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-comment" style="color: #999988; font-style: italic; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;// Add a base map layer to the MapView.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;mMapView.addLayer(&lt;/SPAN&gt;&lt;SPAN class="hljs-keyword" style="color: #333333; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; ArcGISTiledMapServiceLayer("your tiled service URL"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample if needed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/sample-code/add-layer/" title="https://developers.arcgis.com/android/sample-code/add-layer/"&gt;Add Layer | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it doesn't work, send your code to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:mguo@esri.com"&gt;mguo@esri.com&lt;/A&gt;&lt;SPAN&gt; and I'll look into it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 21:22:57 GMT</pubDate>
    <dc:creator>MengyiGuo</dc:creator>
    <dc:date>2014-11-18T21:22:57Z</dc:date>
    <item>
      <title>Retrieving Basemap via HTTPS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47072#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to connect to my company's GIS web service with no luck.&amp;nbsp; I have made sure my implementation closely follows the tutorial; although, I've been using ESRI's web service for several weeks now.&amp;nbsp; I know our GIS web service works as other teams are using iOS &amp;amp; JavaScript and have had no issues connecting to the same URL.&amp;nbsp; I suspect there is an extra step that I am not finding/understanding in any of the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our certificate is officially signed and below is the obstacle.&amp;nbsp; Thanks in advance for the help!&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.lang.NullPointerException
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.android.map.TiledServiceLayer.initLayer(SourceFile:358)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.android.map.ags.ArcGISTiledMapServiceLayer.initLayer(SourceFile:199)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.android.map.ags.ArcGISTiledMapServiceLayer$1.run(SourceFile:132)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.FutureTask.run(FutureTask.java:234)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:841)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 21:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47072#M379</guid>
      <dc:creator>lqdeffx</dc:creator>
      <dc:date>2014-11-17T21:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Basemap via HTTPS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47073#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the URL of your TiledServiceLayer? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your onCreate method in java file, do the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hljs-comment" style="color: #999988; font-style: italic; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;// Retrieve the MapView from XML layout.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;mMapView = (MapView) findViewById(R.id.map);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-comment" style="color: #999988; font-style: italic; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;// Add a base map layer to the MapView.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;mMapView.addLayer(&lt;/SPAN&gt;&lt;SPAN class="hljs-keyword" style="color: #333333; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt; ArcGISTiledMapServiceLayer("your tiled service URL"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample if needed.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/sample-code/add-layer/" title="https://developers.arcgis.com/android/sample-code/add-layer/"&gt;Add Layer | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it doesn't work, send your code to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:mguo@esri.com"&gt;mguo@esri.com&lt;/A&gt;&lt;SPAN&gt; and I'll look into it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 21:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47073#M380</guid>
      <dc:creator>MengyiGuo</dc:creator>
      <dc:date>2014-11-18T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Basemap via HTTPS</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47074#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response - my problem was between my keyboard and chair.&amp;nbsp; The service I was attempting to connect to did not support caching.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/retrieving-basemap-via-https/m-p/47074#M381</guid>
      <dc:creator>lqdeffx</dc:creator>
      <dc:date>2014-12-08T15:59:03Z</dc:date>
    </item>
  </channel>
</rss>

