Within a MapActivity on an Eclair test phone, I have installed an
OnTouchListener to only listen for screen taps.  If I just tap the
screen it receives events OK.  However, after I perform a multi-touch
activity to expand or contract the map view, the OnTouchListener no
longer receives any callbacks whatsoever.  The multi-touch continues
to work, but I cannot receive any screen tap events inside of the
OnTouchListener.  My OnTouchListener looks like this

public boolean onTouch(View view, MotionEvent event) {

int action = event.getAction();
                                        if (action == MotionEvent.ACTION_DOWN) {
                                                mActivePointerId = 
event.getPointerId(0);
                                                mPosX = event.getX();
                                                mPosY = event.getY();
                                                getTouchEvent = false;
                                                if ((mPosX != 
INVALID_COORDINATE) && (mPosY !=
INVALID_COORDINATE))
                                                        
drawAndCheckManualLocationEntry(mPosX, mPosY);
                                                //event.recycle();
                                                return true;
                                        }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to