Giter VIP home page Giter VIP logo

android-automate's Introduction

项目描述

该项目是基于安卓无障碍服务开发的安卓自动化中间件,用于进行UI自动化的数据采集。 项目的灵感和无障碍服务的使用借鉴于开源项目AutoJs,不同的是该项目采用客户端与服务端的架构方式,安卓手机作为服务端,PC电脑作为客户端,双方通过socket进行连接。


模块说明

automate-server

该模块为安卓工程,使用SDK安卓10(API30)开发,主要实现无障碍服务的细化功能封装并暴露给客户端,建议使用Android Studio打开项目。

automate-client

该模块为运行在PC端的客户端程序,主要进行一个示例演示和功能调试


使用说明

前置条件:连接上数据线,开启usb调试模式 build目录下的release/app-release.apk是一个已经打包编译并签名的apk,可以直接安装到手机上。

具体的使用见automate-client模块下的测试样例。


开发计划

  • √ 协议制定与实现
  • √ 控件查找
  • √ 控件操作(点击、输入......)
  • √ 全局操作(back键、home键、任务键)
  • √ API封装
  • √ 获取app相关信息(activity......)
  • √ 对app的相关操作(启动......)
  • √ 模拟手势
  • √ 隐式等待
  • ......

未完待续 ......

android-automate's People

Contributors

lyousan 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.