Hi, would anyone have any tip on how I could distinguish between a clockwise and a counter clockwise fling event? So far I've been using just velocityX and velocityY which just gives me the idea of the direction.
I think I could retrieve the absolute position of the ACTION_DOWN event and likewise the absolute position of the ACTION_UP event. In this way I would be able to define the equation of the line passing through these two points. Therefore if I also had a set of points belonging to the fling movement trajectory I would be able to tell if those points stay over or underneath that line. Knowing also if the x and y coordinates are incrementing or decrementing (velocityX and velocityY) during the flig movement I would be able to tell if the movement was clockwise or counter- clockwise. I am new to android, so I don't know which are the capabilities that all the different structures offer. Could anyone tell me his/her idea on what I just tried to expose? Cheers Francesco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

