<?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: Http Cookies/Headers and Esri Mapping in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586621#M4018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still stuck on this.&amp;nbsp; Searching the mobile docs, I see no mention of a cookie store/manager, etc like org.apache.http.client.CookieStore provides.&amp;nbsp; Has anyone ever added a cookie to an outgoing http request that the Esri Android sdk would be making for a tile request (to an Esri mapping service)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 18:29:55 GMT</pubDate>
    <dc:creator>JeremyLezniak</dc:creator>
    <dc:date>2013-02-22T18:29:55Z</dc:date>
    <item>
      <title>Http Cookies/Headers and Esri Mapping</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586620#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering if someone can point me in the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;best practices&lt;/SPAN&gt;&lt;SPAN&gt; direction of adding custom http headers to out going Android tile requests.&amp;nbsp; I have a tile service I've coded that has some authentication information and session information that is needed to be stored in a cookie or custom http header.&amp;nbsp; This cookie metadata is needed to fulfill tile requests to our Esri Api-compliant tile service.&amp;nbsp; What is the accepted and best practice method for doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 13:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586620#M4017</guid>
      <dc:creator>JeremyLezniak</dc:creator>
      <dc:date>2013-02-11T13:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Http Cookies/Headers and Esri Mapping</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586621#M4018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still stuck on this.&amp;nbsp; Searching the mobile docs, I see no mention of a cookie store/manager, etc like org.apache.http.client.CookieStore provides.&amp;nbsp; Has anyone ever added a cookie to an outgoing http request that the Esri Android sdk would be making for a tile request (to an Esri mapping service)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 18:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586621#M4018</guid>
      <dc:creator>JeremyLezniak</dc:creator>
      <dc:date>2013-02-22T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Http Cookies/Headers and Esri Mapping</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586622#M4019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our Android SDK does not provide support for custom HTTP headers, instead you should look into the Android API to solve this.&amp;nbsp; You can try the Apache stack with &lt;/SPAN&gt;&lt;A href="http://developer.android.com/reference/org/apache/http/message/AbstractHttpMessage.html#addHeader%28java.lang.String,%20java.lang.String%29"&gt;AbstractHttpMessage&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://developer.android.com/reference/java/net/URLConnection.html#addRequestProperty%28java.lang.String,%20java.lang.String%29"&gt;URLConnection&lt;/A&gt;&lt;SPAN&gt;. Let me know if you continue to have issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 16:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586622#M4019</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2013-03-04T16:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Http Cookies/Headers and Esri Mapping</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586623#M4020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Our Android SDK does not provide support for custom HTTP headers, instead you should look into the Android API to solve this.&amp;nbsp; You can try the Apache stack with &lt;A href="http://developer.android.com/reference/org/apache/http/message/AbstractHttpMessage.html#addHeader%28java.lang.String,%20java.lang.String%29"&gt;AbstractHttpMessage&lt;/A&gt; or &lt;A href="http://developer.android.com/reference/java/net/URLConnection.html#addRequestProperty%28java.lang.String,%20java.lang.String%29"&gt;URLConnection&lt;/A&gt;. Let me know if you continue to have issues.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for you reply, but your answer is still not 100% clear to me.&amp;nbsp; Could you show by a small example how tie into the MapView's network stack (I'm not even 100% sure MapView has a nework manager for outgoing requests, I'm just guessing).&amp;nbsp; I understand using Apache's http framework in accessing requests/responses when creating my own http request, but such an implementation is not obvious to me with Esri's android sdk (or how to tie them together with your suggestion).&amp;nbsp; Is it a matter of reflection/introspection to gain access to a seemingly hidden network manager that tile requests are happening through?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I apologize if my request is simple and it should be obvious to me, but I do need a little more help solving this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 19:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/http-cookies-headers-and-esri-mapping/m-p/586623#M4020</guid>
      <dc:creator>JeremyLezniak</dc:creator>
      <dc:date>2013-03-04T19:14:03Z</dc:date>
    </item>
  </channel>
</rss>

