Android Question Whatsapp Automation

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
I tried to make whatsapp send message automatically without user click send button manually, I got the approach of working scenario as the following:
- We can build message & send it to specific number and runing whatsapp window, see b4a function here.
- Using Accessibility service to automate click button in whatsapp, see Java code here.

I got this error on compiling:
error: whatsappaccessibilityservice is not abstract and does not override abstract method onInterrupt() in AccessibilityService
public class whatsappaccessibilityservice extends AccessibilityService{
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Where is accessibility service jar to be added? what is the meaning of error?

I'm not expert in Java lang, Can all of us share ideas/code to make it success.


    11.1 KB · Views: 414


Licensed User
Longtime User

Upvote 0