Android MotionEvent.getActionIndex() and MultiTouch
问题 I am trying to get the pointer id whene the event MotionEvent.ACTION_MOVE happens. I am doing it by calling event.getActionIndex() but it always returns 0 for the second, the third, the forth and the fifth finger. i am using Gingerbread 2.3.3 on Galaxy S I9000 here is my code switch (event.getActionMasked()) { case MotionEvent.ACTION_MOVE: { Log.d("D"," getActionIndex()="+event.getActionIndex()); };break; } This is the debug results 05-02 19:20:08.628: DEBUG/D(4534): getActionIndex()=0