3

Please provide any useful tutorial to handle image with multi-touch user interface

to handle image rotation zoom in/out.

I have already find out something but not so satisfactory.

Vaibhav Jani
  • 12,428
  • 10
  • 61
  • 73

2 Answers2

1

I found this tutorial very useful, it does ZOOM & TRANSLATION but not ROTATE How to use MulltiTouch in Android I suspect you would have to calculate the ACTION_POINTER rotation when it moves & apply the same rotation to the transformation matrix.

daveD
  • 869
  • 1
  • 7
  • 24
  • i had performed zoom in/out but for rotating image http://stackoverflow.com/questions/5894736/rotate-zoom-drag-image-in-android-imageview but this is of no use....i didn't get how to calculate ACTION_POINTER could you please elaborate a bit :) – ManjotSingh Jun 02 '11 at 09:54
1

This guy has a 6 article blog about how to implement some form of pinch zoom in Android.

nicholas.hauschild
  • 42,483
  • 9
  • 127
  • 120