2021年4月9日星期五

How to control a phone using python?

I need to perform touch inputs and swipes automatically on a android just like we do a mouse click using pyautogui library in Python on a desktop or a laptop. But I need to do the same on mobile(Instead of mouse click I need to do a touch input and swipe).

So is there any way of doing this on mobile? I know that we can run python scripts on mobile using python3 compiler for android and I tried that out and it works. But can we automate touch input using some script that will be running on the android?

There must be something or some library that can acomplish this task.

Just hoping for a solution.

Thanks.

Regards, Just_A_Coder

https://stackoverflow.com/questions/67025523/how-to-control-a-phone-using-python April 10, 2021 at 01:13AM

没有评论:

发表评论