Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 316 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 316 Bytes

adbs

communicate with adb daemon

demo

DefaultAdbDevice device = SocketAdbDevice.connect("127.0.0.1", 5555);
device.shell("ls", "-l", "/sdcard").addListener(f -> {
    if (f.cause() != null) {
        f.cause().printStacktrace();
    } else{
        System.out.println((String)f.getNow());
    }
});