Rotating an image around a point by touching and dragging it till the point we want to rotate it
<p>Actually what I want to do is 
I have a Bitmap image I'm using <code>SurfaceView</code> instead of View to draw and using <code>onDraw</code> function to draw the image. </p>

<p>What I want to do is I have an image a pointer with arrow (like a needle we have in multimeter) 
I want the user to touch the tip of the arrow and rotate if by holding n dragging till the point he wants to rotate it to. ie if arrow is straight then 90 degree on either side we can rotate. </p>

<p>I found few examples on this site and internet but non of them were precise or explained anything and were hard to understand.</p>

<p>If someone can help me with this I would be very grateful.</p>
