<?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 Display pop-up when a marker is touched (SDK 100.0.0) in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489011#M3383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently developing an Android application with information provided by this &lt;A href="https://services.arcgis.com/hkQNLKNeDVYBjvFE/arcgis/rest/services/Transportes/FeatureServer/1/"&gt;feature table&lt;/A&gt; and I want the markers to display pop-ups like the following one when touched:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="352919" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352919_Popup.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone tell me how I can do that, please? I'm doing this but I'm getting an exception (ArcGISRuntimeException) when the ninth line is executed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="353009" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/353009_Code.PNG" style="width: 620px; height: 162px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 19:04:37 GMT</pubDate>
    <dc:creator>DarwinHamad</dc:creator>
    <dc:date>2017-05-22T19:04:37Z</dc:date>
    <item>
      <title>Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489011#M3383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently developing an Android application with information provided by this &lt;A href="https://services.arcgis.com/hkQNLKNeDVYBjvFE/arcgis/rest/services/Transportes/FeatureServer/1/"&gt;feature table&lt;/A&gt; and I want the markers to display pop-ups like the following one when touched:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="352919" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352919_Popup.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone tell me how I can do that, please? I'm doing this but I'm getting an exception (ArcGISRuntimeException) when the ninth line is executed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="353009" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/353009_Code.PNG" style="width: 620px; height: 162px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 19:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489011#M3383</guid>
      <dc:creator>DarwinHamad</dc:creator>
      <dc:date>2017-05-22T19:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489012#M3384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the full error that you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 19:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489012#M3384</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-22T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489013#M3385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the error that I'm getting in first place when I'm debugging the application:&lt;/P&gt;&lt;P&gt;"com.esri.arcgisruntime.ArcGISRuntimeException:Cannot call this method in this context".&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="353011" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/353011_pastedImage_1.png" style="width: 620px; height: 18px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must point out that I'm trying creating a new PopupDefinition because, when I create the feature layer from the feature table, according to the debugger it has no PopupDefinition set and it seems rare to me because in the browser I can see the pop-ups without problem like in the first image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 19:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489013#M3385</guid>
      <dc:creator>DarwinHamad</dc:creator>
      <dc:date>2017-05-22T19:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489014#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload the smallest reproducible case you have? &amp;nbsp;I may be able to figure out what is going on if I have more code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 12:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489014#M3386</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-23T12:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489015#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course! I have uploaded a reduced version of the application &lt;A href="https://github.com/wanwin/GuaguasLaPalmaSample"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 16:20:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489015#M3387</guid>
      <dc:creator>DarwinHamad</dc:creator>
      <dc:date>2017-05-23T16:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489016#M3388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than construct a new popupdefinition, have you tried just grabbing the existing one from the feature layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;SPAN style="background-color: #344134;"&gt;PopupDefinition&lt;/SPAN&gt; popupDefinition = featureLayer.getPopupDefinition()&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 16:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489016#M3388</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-23T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489017#M3389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm try to construct a new PopupDefinition because when I try to grab the existing one it's value is "null" according to the debugger:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/353142_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;It seems that the feature layer is not getting that field from the feature table and I don't know if it's happening because I'm doing something wrong or because the feature server hasn't that information defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 17:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489017#M3389</guid>
      <dc:creator>DarwinHamad</dc:creator>
      <dc:date>2017-05-23T17:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489018#M3390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you are saying. &amp;nbsp;My assumption is that the feature server does not have that information defined. &amp;nbsp;I ran into something similar to this the other day and was really blocked by it. &amp;nbsp;If I get some time later today, I will investigate more on my end and see if I can come up with a working sample to figure out what might be going wrong here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489018#M3390</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-24T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489019#M3391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I solved the problem using Callout instead of Popup like in &lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/master/feature-layer-show-attributes"&gt;this&lt;/A&gt; example because doing that I don't need a PopupDefinition or the fields defined on the FeatureTable since I obtain the required information using ServiceFeatureTable's method &lt;SPAN class=""&gt;queryFeaturesAsync().&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 01:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489019#M3391</guid>
      <dc:creator>DarwinHamad</dc:creator>
      <dc:date>2017-07-05T01:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display pop-up when a marker is touched (SDK 100.0.0)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489020#M3392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/274324"&gt;Darwin Hamad&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad you were able to get it working for you. &amp;nbsp;I went and did some work with popups this past week and while it is not perfect, I think you may find aspects of it useful in your work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/nohe427/KtPopup" title="https://github.com/nohe427/KtPopup"&gt;GitHub - nohe427/KtPopup: Kotlin Popups&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 16:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/display-pop-up-when-a-marker-is-touched-sdk-100-0/m-p/489020#M3392</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-10T16:24:52Z</dc:date>
    </item>
  </channel>
</rss>

