Wechat Automation tool — automatically send moments (not root permission)
First, the effect drawing
Test Android devices
I have tested well on these two devices. If you have any problems with other devices, please give me feedback.
Third, the principle of
The core of the app is AccessibilitySampleService class, it inherits the AccessibilityService service. After the auxiliary function open AccessibilitySampleService will monitor the target APP (WeChat) change of state of the page. Then use the UI Automator Viewer tool officially provided by Android to view the layout structure tree of the target APP (wechat).
Search for corresponding controls according to rescoure-id, and click, copy, and paste these controls.
Four, notes
1, Android device must install wechat APP 2, Android Sdk Version>18 Special reminder (do not need to obtain root permission)
Five, the Repository
https://github.com/EdwardSituwende/WeChatAutomationUtil