From c78583f6c515a82211ebefe0b732a4e6fe018ae5 Mon Sep 17 00:00:00 2001 From: Samuel Carlsson Date: Thu, 20 Mar 2014 21:35:36 +0100 Subject: [PATCH] Updating documentation with an example. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c21bfb6..8c64c6f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,11 @@ Usage cannot be simpler. Just create a `JadbConnection` and off you go. Make sure the adb server is running. You can start it by running `adb` once from the command line. +It's very easy to send and receive files from your android device, for example as below. + + JadbDevice device = ... + device.pull(new RemoteFile("/path/to/file.txt"), new File("file.txt")); + ## Protocol Description ## An overview of the protocol can be found here: [Overview](https://github.com/cgjones/android-system-core/blob/master/adb/OVERVIEW.TXT)