mtmurdock
mtmurdock

Reputation: 13062

Android: Can I lower the latency of onTouch?

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?

Upvotes: 1

Views: 2072

Answers (1)

aleph_null
aleph_null

Reputation: 5786

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.

Upvotes: 1

Related Questions