This is a remote click app.
It uses HTTP to control your device.
If you can not root your device or use USB debug on old version android, you can consider this app.
- Make sure privilege
It use Accessibility
and internet. Make sure accessibility on.
- Start
You can click "开始" button to allow remote control.
Make POST request to yourDevicesIP:port (default 8080) with following body:
{
"commands":"click 100 200;"
}
Your device should click at Point(x:100,y:200) automatically.
- Remote clicker via network without root or adb.
- Auto start after reboot.
- Auto wake before click.
click 100 200;
sleep 1000;
swipe 100 200 300 400;
These commands simulate the following actions:
- Click at the coordinates (100, 200).
- Wait for 1000 ms.
- Swipe from coordinates (100, 200) to coordinates (300, 400).
Except following files, this software and all other files is under GPL-3.0
- mm.pp.clicker.tools.** -> The MIT LICENSE
- mm.pp.clicker.master.lib.** -> The MIT LICENSE
You can directly copy mm.pp.clicker.master.lib.**
to your project.
Example can be find in Builder example.
// CommandJsonBuilder needs "com.fasterxml.jackson.core:jackson-databind
CommandJsonBuilder commandJsonBuilder=new CommandJsonBuilder();
commandJsonBuilder
.click(1,2)
.sleep(100)
.swipe(100,200,300,400)
.swipe(100,200,300,400,500)
.swipe(100,200,300,400,500,1000)
;
String out=commandJsonBuilder.buildString();
/**
* Output string
* {"commands":"click 1 2;sleep 100;swipe 100 200 300 400;swipe 100 200 300 400 500;swipe 100 200 300 400 500 1000;"}
*/
System.out.println(out);
CommandBuilder commandBuilder=new CommandBuilder();
commandBuilder=commandBuilder
.click(1,2)
.sleep(100)
.swipe(100,200,300,400)
.swipe(100,200,300,400,500)
.swipe(100,200,300,400,500,1000)
;
String out=commandBuilder.build();
// click 1 2;sleep 100;swipe 100 200 300 400;swipe 100 200 300 400 500;swipe 100 200 300 400 500 1000;