5

I have developed an app in which a cube is shown by OpenGL ES and when the user touches the screen & swipes it the cube gets translated from one position to another(sort of panning implementation)--implemented with glTranslatef()

I have used MotionEvent.ACTION_MOVE for this swipe movement. Now my problem is dat I want to implement this using the multi-touch, so the user has to use atleast two fingers for this translation.

Already tried using GestureDetector.SimpleOnGestureListener & ScaleGestureDetector but stil its not clear.

Can anyone help me regardin this. Thanks in advance !!

Praveenkumar
  • 24,084
  • 23
  • 95
  • 173
Manroop
  • 301
  • 1
  • 3
  • 16

0 Answers0