Cartucho / android-touch-record-replay

How to record and replay touchscreen events on an Android device.
Apache License 2.0
224 stars 46 forks source link

Support with only ADB #17

Open Sheetal-dhar opened 4 years ago

Sheetal-dhar commented 4 years ago

Would it run with only adb and not using USB at all. Is there any support for that?

Cartucho commented 4 years ago

Hello, yes, it is possible.

I think you need to root your phone. What are you trying to do?

Sheetal-dhar commented 4 years ago

I am trying to use it for testing purpose.

Cartucho commented 4 years ago

But you want to run the code from an app or directly from a terminal in the phone?

According to this, you can install the terminal and run it directly.

Still, I think you would need a USB in the beginning to record the instructions.

novakin commented 4 years ago

I've tried it, recording events from the terminal or via Tasker works fine.

Unfortunately, replaying doesnt work at all.

Cartucho commented 4 years ago

I have replayed it in the past through an app but I had to root my phone for it to work.