Updating documentation with an example.

This commit is contained in:
Samuel Carlsson 2014-03-20 21:35:36 +01:00
parent c051da8e7f
commit c78583f6c5

View File

@ -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)