Hello, I have a MapActivity and i want to listen if the user taps on the map (no matter where). I realized that the onTouchEvent(...) method will not work, because according to the documentation this method is only called when a touch screen event was not handled by any of the views under it. Ok then i tried to register a Listener directly on the map:
map.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { log.d("tmp","moo"); return false; } }); this works! But only the first time when the user touches the screen. What's wrong here? greets -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en