Вопрос

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