jadb/README.md

34 lines
1.4 KiB
Markdown
Raw Normal View History

2013-07-25 20:48:46 +02:00
#JADB#
ADB client implemented in pure Java.
The Android Debug Bridge or ADB for short it a client-server architecture used to install android apps from an IDE or command line and to debug apps, etc.
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.
2013-07-25 21:56:30 +02:00
2016-03-02 21:55:05 +01:00
[![Build Status](https://travis-ci.org/vidstige/jadb.svg?branch=master)](https://travis-ci.org/vidstige/jadb)
2013-07-25 21:56:30 +02:00
## Example ##
Usage cannot be simpler. Just create a `JadbConnection` and off you go.
JadbConnection jadb = new JadbConnection();
2014-03-20 11:40:28 +01:00
List<JadbDevice> devices = jadb.getDevices();
Make sure the adb server is running. You can start it by running `adb` once from the command line.
2013-07-25 21:56:30 +02:00
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"));
2013-07-25 21:56:30 +02:00
## 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>