Short version: I want a way to start a time-based counter on an onTouchEvent, and test to see if a certain amount of time has passed before responding, as a manual LongTouch detection.
Explanation: I have a custom imageView that slides in/out of screen on two-fingered flings. I want to add drag events to it, but these need to be quicker than a longpress. I can delay the drag event by using a counter that updates once per onTouchEvent and only triggers the drag on, say, 10 counts, but the counter only updates on touch events and the finger must be moving.
How can I create a time-based counter, an Activity level field that's incremented 60 times a second or somesuch?