Thanks for your help, i succeed to do it, using this code :
public void markerClick() {
mvHelper.setOnGraphicClickListener(new OnGraphicClickListener() {
@Override
public void onGraphicClick(Graphic graphic) {
double gX, gY;
mvHelper.setShowGraphicCallout(false);
gX = ((Point)graphic.getGeometry()).getX();
gY = ((Point)graphic.getGeometry()).getY();
Point p = new Point(gX, gY);
Point newPoint =
(Point) GeometryEngine.project(p,
arcMap.getSpatialReference(), SpatialReference.create(4326));
Toast.makeText(ctx, String.valueOf(newPoint.getX()) + " "
+ String.valueOf(newPoint.getY()), Toast.LENGTH_LONG).show();
}
});
}
2016-07-28 17:43 GMT+01:00 Alexander Nohe <geonet@esri.com>:
GeoNet <https://community.esri.com/?et=watches.email.thread>
Marker onClickListener
reply from Alexander Nohe
<https://community.esri.com/people/ANohe-esristaff?et=watches.email.thread>
in ArcGIS Runtime SDK for Android - View the full discussion
<https://community.esri.com/message/624384?et=watches.email.thread#comment-624384>