Android Geocoding Results

3964
1
01-27-2015 06:27 AM
raffia
by
New Contributor II

Hi all

I am developing an ArcGIS app for android, I used the sample code found in ArcGIS Runtime SDK for Android and its working perfectly. Now my question is how to set an onClickListener || OnSingleTapListener  on the geocoding results displayed in the graphic layer.

0 Kudos
1 Reply
WillCrick
Occasional Contributor

Hi,

The Graphics Layer has a getGraphics() method which takes in an X and Y in screen coordinates, you can pass through the X and Y from an event such as OnSingleTap into this method to find the graphics.

Will

0 Kudos