How can I implement exec-out, just like this ?
public InputStream executeOut(String command, String... args) throws IOException, JadbException {
Transport transport = getTransport();
StringBuilder shellLine = buildCmdLine(command, args);
send(transport, "exec-out:" + shellLine.toString());
return new BufferedInputStream(transport.getInputStream());
}