<?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 Geocoding suggestions / auto-complete in Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geocoding-suggestions-auto-complete-in-android/m-p/420472#M2860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my Android app, I'm using a locator (geocoding service) for the search functionality, i.e.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Locator locator = Locator.&lt;SPAN&gt;createOnlineLocator&lt;/SPAN&gt;(URL to a 10.2 ArcGIS Geocoding Service) &lt;/PRE&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover I'm using the same service in a Web application with ArcGIS for Javascript. In the Web application, I'm able to get a&amp;nbsp;&lt;SPAN&gt;character-by-character auto-completion although I do not use the ArcGIS Server 10.3 "suggest" capability (I am still using esri/dijit/geocoding with autoComplete=true, not the new search widget).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I thought that auto-completion should also work in my Android app...&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I tried to use&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;LocatorSuggestionParameters&lt;/SPAN&gt; params = new LocatorSuggestionParameters(text input...);
and&lt;PRE class="lia-code-sample line-numbers language-none"&gt;locator.suggest(params, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;CallbackListener&amp;lt;List&amp;lt;&lt;SPAN style="background-color: #e4e4ff;"&gt;LocatorSuggestionResult&lt;/SPAN&gt;&amp;gt;&amp;gt;() {...&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;as specified&amp;nbsp;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#suggest" rel="nofollow noopener noreferrer" target="_blank"&gt;in the API reference&lt;/A&gt;&amp;nbsp;but I'm not getting any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please tell me if the auto-completion for geocoding services in Android is only possible with the&amp;nbsp;ArcGIS Server 10.3 "suggest" capability?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:00:06 GMT</pubDate>
    <dc:creator>ClaudiaMalzer1</dc:creator>
    <dc:date>2021-12-11T19:00:06Z</dc:date>
    <item>
      <title>Geocoding suggestions / auto-complete in Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geocoding-suggestions-auto-complete-in-android/m-p/420472#M2860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my Android app, I'm using a locator (geocoding service) for the search functionality, i.e.&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Locator locator = Locator.&lt;SPAN&gt;createOnlineLocator&lt;/SPAN&gt;(URL to a 10.2 ArcGIS Geocoding Service) &lt;/PRE&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover I'm using the same service in a Web application with ArcGIS for Javascript. In the Web application, I'm able to get a&amp;nbsp;&lt;SPAN&gt;character-by-character auto-completion although I do not use the ArcGIS Server 10.3 "suggest" capability (I am still using esri/dijit/geocoding with autoComplete=true, not the new search widget).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I thought that auto-completion should also work in my Android app...&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I tried to use&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="background-color: #e4e4ff;"&gt;LocatorSuggestionParameters&lt;/SPAN&gt; params = new LocatorSuggestionParameters(text input...);
and&lt;PRE class="lia-code-sample line-numbers language-none"&gt;locator.suggest(params, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;CallbackListener&amp;lt;List&amp;lt;&lt;SPAN style="background-color: #e4e4ff;"&gt;LocatorSuggestionResult&lt;/SPAN&gt;&amp;gt;&amp;gt;() {...&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;as specified&amp;nbsp;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#suggest" rel="nofollow noopener noreferrer" target="_blank"&gt;in the API reference&lt;/A&gt;&amp;nbsp;but I'm not getting any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please tell me if the auto-completion for geocoding services in Android is only possible with the&amp;nbsp;ArcGIS Server 10.3 "suggest" capability?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geocoding-suggestions-auto-complete-in-android/m-p/420472#M2860</guid>
      <dc:creator>ClaudiaMalzer1</dc:creator>
      <dc:date>2021-12-11T19:00:06Z</dc:date>
    </item>
  </channel>
</rss>

