<?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: Function to detect touch on pin graphics in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532064#M3609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I didn't realize (or missed) that you are using a Graphics Layer.&amp;nbsp; When you said "graphics" I was thinking symbology.&amp;nbsp; Knowing we're talking about a graphics layer; your implementation seems to be the most feasible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2012 12:29:56 GMT</pubDate>
    <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
    <dc:date>2012-10-18T12:29:56Z</dc:date>
    <item>
      <title>Function to detect touch on pin graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532061#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a an application similar to the UC2012 android application by ESRI. I show some relevant places in an ERSI map using some pin graphics. Now i want to create a callout when the use touches these 'pins' similar to UC2012 app. I am able to display a callout at random points specifed through code and I know how to use the 'onsingletaplistener' but&amp;nbsp; I couldnt find any function that&amp;nbsp; detects whether the touch was over the graphics. Can some one help me out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I am looking for a convenience function to detect whether the touch occurred over a graphic(with PictureMarkerSymbol).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks in Advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 15:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532061#M3606</guid>
      <dc:creator>ThomasBinu</dc:creator>
      <dc:date>2012-10-16T15:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function to detect touch on pin graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532062#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check out the IdentifyTask.&amp;nbsp; That'll get you what you need:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/android-sdk/concepts/index.html#/Identify_task_sample/01190000001w000000/"&gt;http://resources.arcgis.com/en/help/android-sdk/concepts/index.html#/Identify_task_sample/01190000001w000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to modify your SingleTapListener() event to execute the identify task against the layer you define in your map service (your pins).&amp;nbsp; If you don't want to modify the SingleTapListener(), you could alternatively use OnLongPressListener().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 12:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532062#M3607</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-17T12:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function to detect touch on pin graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532063#M3608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check out the IdentifyTask.&amp;nbsp; That'll get you what you need:&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/android-sdk/concepts/index.html#/Identify_task_sample/01190000001w000000/"&gt;http://resources.arcgis.com/en/help/android-sdk/concepts/index.html#/Identify_task_sample/01190000001w000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You'll have to modify your SingleTapListener() event to execute the identify task against the layer you define in your map service (your pins).&amp;nbsp; If you don't want to modify the SingleTapListener(), you could alternatively use OnLongPressListener().&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&amp;nbsp; for the reply.I ended up the using&amp;nbsp; graphicsLayer.getGraphicIDs(x, y, tolerance, noOfPointsToBeDetected); to retrieve the graphics ids of the graphics(pins) near the point of touch in an int array&amp;nbsp; inside singletaplistener().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 01:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532063#M3608</guid>
      <dc:creator>ThomasBinu</dc:creator>
      <dc:date>2012-10-18T01:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function to detect touch on pin graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532064#M3609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I didn't realize (or missed) that you are using a Graphics Layer.&amp;nbsp; When you said "graphics" I was thinking symbology.&amp;nbsp; Knowing we're talking about a graphics layer; your implementation seems to be the most feasible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/function-to-detect-touch-on-pin-graphics/m-p/532064#M3609</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-10-18T12:29:56Z</dc:date>
    </item>
  </channel>
</rss>

