Git Product home page Git Product logo

myt-androidcontrol-demo's Introduction

myt-androidControl-demo

1.默认使用windows x64系统,libmytrpc.h文件中是调用方法,exe文件须和libmytrpc.dll在同一个目录下,安卓必须是使用桥接网络模式创建的

2.参数说明

-command string
操作指令, click--点击, move--滑动, screenshot--截图 (default "click")
-batch
批量发送命令,为true时会读取config.json文件,默认false
-host string
安卓host,例192.168.100.10,batch为true时可不传
-x1 int
x轴坐标x1 (default 269)
-y1 int
y轴坐标y1 (default 462)
-x2 int
滑动终点x轴坐标x2 (default 600)
-y2 int
滑动终点y轴坐标y2 (default 200)

3.模拟点击

.\demo.exe -host=192.168.100.10 -command=click -x1=269 -y1=462

4.模拟滑动

.\demo.exe -host=192.168.100.10 -command=move -x1=269 -y1=690 -x2=300 -y2=300

5.屏幕截图

.\demo.exe -host=192.168.100.10 -command=screenshot

6.批量发送命令

.\demo.exe -batch=true -command=click -x1=269 -y1=462

myt-androidcontrol-demo's People

Contributors

henry0924 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.