Giter Club home page Giter Club logo

wechatautomationutil's Introduction

微信自动化工具---自动发送朋友圈(非root权限)

2018-04-30更新

最近有朋友反馈自动化工具不能使用,我仔细看了一下,发现微信每个版本的resource-id都会更改, 导致自动化工具失效。此次更新我修改了查询结点的搜索方式,应该能够解决resource-id的问题。如果还有问题欢迎给我提issue。 目前仅支持微信版本6.6.6

一、效果图

微信自动化


二、测试设备和微信版本

我在这两款设备测试正常,其它设备如果有什么问题,欢迎给我反馈^_^
夜神模拟器(Android 4.3)、华为荣耀8青春版(Android 7.0)


三、原理

整个app的核心是AccessibilitySampleService类,它继承了AccessibilityService服务。 在辅助功能打开之后,AccessibilitySampleService类会监听目标APP(微信)页面的状态变化。 之后使用Android官方提供的UI Automator Viewer工具,查看目标APP(微信)的布局结构树。 根据rescoure-id搜索出相应的控件,再对这些控件执行点击、复制、粘贴等操作。


四、注意事项

1、Android设备必须安装微信app
2、Android Sdk Version>18
特别提醒(不需要获取root权限)


五、Repository

https://github.com/EdwardSituwende/WeChatAutomationUtil





wechatautomationutil's People

Contributors

edwardsituwende avatar

Watchers

James Cloos 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.