Android Touch Events Pointer Down
===

Hi I am trying to detect when 2 fingers are touching the screen:

       case MotionEvent.ACTION_POINTER_2_DOWN: {
    	
    	twoFing=true;
        return true;
    }

the problem is that:

    public static final int ACTION_POINTER_2_DOWN

is depreceted, the doc says:

*Constant for getActionMasked(): A non-primary pointer has gone down.
Use getActionIndex() to retrieve the index of the pointer that changed.
The index is encoded in the ACTION_POINTER_INDEX_MASK bits of the unmasked action returned by getAction().*

but I don't understand how to use it... How could I detect that there are 2 pointers? ActionUP and DOwn always say there is only one pointer if I try getPointerIndex()

thanks a lot