Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,714 Members 41,175 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Simulating a long sequence of screen presses with precise timing and low resource

Tip us?
 
user1409199
Old
(Last edited by user1409199; 17th May 2014 at 01:00 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: May 2014
Default [Q] Simulating a long sequence of screen presses with precise timing and low resource

This topic really belongs under Android Development and Hacking > Miscellaneous Android Development, but I don't have permission to post there, so I'm posting it here.

I want more people to look like my stackoverflow question, because I'm not getting hits and could use some help:

stackoverflow.com/questions/23671588/android-simulate-touch-screen-presses-with-precise-timing-overcome-resource

Details are in the link.
Basically, I want to simulate hundreds of screen presses in order and timing precision within +/-100ms. The problem is that executing hundreds of sendevent commands causes lagging so that I'm not getting the 100ms precision that I need. I want to know what's causing the lag and how I can overcome this problem.
 
user1409199
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: May 2014
bump
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes