문제

I'm working on an app that requires high accuracy touch handling. I want my OnTouchListener to receive as many onTouch events as possible so I can see exactly where their finger went. Is there some way to crank up the frequency at which I receive these events?

도움이 되었습니까?

해결책

I don't think there's an explicit way to do so. As for an implicit way, read http://groups.google.com/group/android-developers/browse_thread/thread/39eea4d7f6e6dfca

The most important part of that link is "the system delivers events as fast as you will process them". So, if you want to maximize touch event delivery, use threading in a way that the UI thread has enough time to constantly process touch events.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top