Skip to content
Control your Android device via python scripts.
Kotlin Python
Branch: master
Clone or download
Latest commit c7135ca Nov 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
py-android-control-app release version 1.0. Nov 2, 2018
simple-control-server updated annotation. Nov 3, 2018
.gitignore finished basic-function. Nov 1, 2018
LICENSE new file: architecture.png Oct 31, 2018
README.md updated annotation. Nov 3, 2018
architecture.png modified: architecture.png Nov 1, 2018
demo.gif updated readme. Nov 2, 2018

README.md

PyAndroidControl

Control your Android device via python scripts.

Architecture

Usage

1. Install the App

Install PyAndroidControl App, and make sure the App has Root Permission.

2. Write your Logics

Change the simple-control-server/logics.py to what ever you want.

def get_commands(token, img_file):
    """ analyze the screenshot and send 
        commands back to android device """
    img_file.save("tmp.png")
    print(token)

    # your adb shell commands
    cmds = [
        'input text "111"',
        'input text "222"',
        'input text "333"',
    ]
    return cmds

3. Control your Device

License

MIT

You can’t perform that action at this time.