Open andreaugo opened 4 years ago
@Cartucho your program is great. thanks a lot for sharing.
i am running it with an android studio emulator, x86, 32 bit. i needed to compile the mysendevent.c with the following compiler properties:
compiled on linux (debian): gcc -static -m32 mysendevent.c -o mysendevent
i've uploaded the file (added the properties to the file name for distinction): https://drive.google.com/file/d/1DSBZxwo8vr4hXMV0-1mfWm-wKahV4GgP
Hi, I've tried this code and I was able to record touch events on my emulator with Android 9.0 and x86 CPU/ABI. However, executing the
replay_touch_events.sh
script give me this output:As you can see, even if it pushes
mysendevent
in/data/local/tmp/
correctly, the script can't findmysendevent
when it have to execute it.I'm sure about the success of the push because of the output of
adb shell ls -ls /data/local/tmp
I hope you can help me out, thanks.