Automate Your Whatsapp Chats
summary
Builds a working Android bot that automates WhatsApp by using Accessibility Service APIs to read screen nodes, an accessibility service class plus manifest and XML config to subscribe to window events, and the SDK UI Automator tool to harvest resource IDs for the contact name, message textbox and send button. The app calls actions like ACTION_SET_TEXT and click on those nodes, demoing successfully on Android 12. Also notes this technique is widely abused by spyware and requires explicitly enabling accessibility permission.
AI-written summary · about
