You will need to pay attention to the MotionEvents yourself, watching for ACTION_POINTER_DOWN and ACTION_POINTER_UP on the same pointer. So long as you have seen a DOWN and not the corresponding UP, the finger has not left the screen. You may or may not care about ACTION_MOVE or other events related to this finger.
And with that, you have pretty much exhausted my knowledge of MotionEvents, so if you have follow-up questions, I'm hoping somebody else can help... :-) On Thu, Jul 7, 2011 at 8:13 PM, Joseph bates <[email protected]> wrote: > So I am working on my first android game and I am going along with > assistance from Beginning Android Games by Mario Zechner. Its a good > book, but using his approach for input gathering, I can only seem to > register touch input if its from a simple tap. My game requires the > user to be able to hold down a "button" to keep the character > constantly moving as long as the button is held down. The book tells > me nothing about how to do this. Any assitance would be greatly > appreciated. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

