GithubHelp home page GithubHelp logo

study's Introduction

study

asm javassist kotlin #如何关闭monkey adb shell ps | grep monkey kill pid(前面会输出) #monkey事件 LauncherActivity(pkg_name,cl_name):启动应用的Activity。参数:包名和启动的Activity。

Tap(x,y,tapDuration):模拟一次手指点击事件。参数:x,y为控件坐标,tapDuration为点击的持续时间

UserWait(sleeptime):休眠一段时间

DispatchPress(keyName):按键。参数:keycode。

DIspatchString(input):输入字符串。

DispatchFilp(true/false):打开或关闭软键盘

PressAndHold(x,y,pressDuration):模拟长按事件

Drag(xStart,yStart,xEnd,yEnd,stepCount):用于模拟一个拖拽操作。

PinchZoom(x1Start,y1Strat,x1End,y1End,x2Start,y2Strat,x2End,y2End,stepCount):模拟缩放手势 #monkey KEYCODE [https://blog.csdn.net/c_z_w/article/details/52623981]

study's People

Contributors

johnshazhu avatar

Watchers

 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.