Get coordinates on tapping map in android
问题 I'm trying to make something like this: I have a mapactivity and when the user taps the map it shows the coordinates of that location. I already overrided the onclick method but it isn't even called. Any Idea? public class MapPoint extends MapActivity implements OnClickListener { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.mappoints); MapView map = (MapView)findViewById(R.id.mapview); map.setOnClickListener(this); map