mirror of
https://github.com/revanced/jadb.git
synced 2025-05-23 18:37:12 +02:00
Updating readme
This commit is contained in:
parent
c0330b5a13
commit
b1a9f1b24f
19
README.md
19
README.md
@ -6,3 +6,22 @@ The Android Debug Bridge or ADB for short it a client-server architecture used t
|
||||
The Android SDK Tools is available for the major platforms (Mac, Windows & Linux) and in there is a command line tool called adb that implements the ADB protocol.
|
||||
|
||||
This projects aims at providing an up to date implementation of the ADB protocol.
|
||||
|
||||
## Example ##
|
||||
Usage cannot be simpler. Just create a `JadbConnection` and off you go.
|
||||
|
||||
JadbConnection jadb = new JadbConnection();
|
||||
List<AndroidDevice> actual = jadb.getDevices();
|
||||
AndroidDevice[] expected = { new AndroidDevice("emulator-5554") };
|
||||
Assert.assertArrayEquals(expected, actual.toArray());`
|
||||
|
||||
## Protocol Description ##
|
||||
|
||||
An overview of the protocol can be found here: [Overview](https://github.com/cgjones/android-system-core/blob/master/adb/OVERVIEW.TXT)
|
||||
|
||||
A list of the available commands that a ADB Server may accept can be found here:
|
||||
[Services](https://github.com/cgjones/android-system-core/blob/master/adb/SERVICES.TXT)
|
||||
|
||||
|
||||
## Author ##
|
||||
Samuel Carlsson <samuel.carlsson@gmai.com>
|
@ -1,6 +1,5 @@
|
||||
package se.vidstige.jadb.test;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Assert;
|
||||
|
Loading…
x
Reference in New Issue
Block a user