mirror of
https://github.com/revanced/jadb.git
synced 2025-02-14 19:16:49 +01:00
Updating documentation with an example.
This commit is contained in:
parent
c051da8e7f
commit
c78583f6c5
@ -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.
|
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 ##
|
## Protocol Description ##
|
||||||
|
|
||||||
An overview of the protocol can be found here: [Overview](https://github.com/cgjones/android-system-core/blob/master/adb/OVERVIEW.TXT)
|
An overview of the protocol can be found here: [Overview](https://github.com/cgjones/android-system-core/blob/master/adb/OVERVIEW.TXT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user