ADB Client in pure Java.

Samuel Carlsson 17e43e650d Merge pull request #6 from vidstige/launch-adb-automagically 9 éve
.idea d406fc3f45 Adding ant build (Generated from IntelliJ 15) 9 éve
META-INF 622b3e106f Adding jar artifact 11 éve
lib 7dc5d73d00 Removing unused jar 9 éve
src 6c1835cc11 Automatically tries to launch adb server. 9 éve
test d8445e8cb2 _Tries_ to start adb server, does not bail out if not possible. 9 éve
.classpath 068ef51f1b Adding Eclipse project file and classpath 11 éve
.gitattributes a6c8f2ff21 Initial commit 11 éve
.gitignore c9a0a59ace Filtering out 0x0d, 0x0a sequences from shell commands. Makes screenshotting work again. :-) 9 éve
.project 068ef51f1b Adding Eclipse project file and classpath 11 éve
.travis.yml 162fc467ac Adding travis-ci build 9 éve
LICENSE.md 2a3c51dc85 Adding the Apache 2.0 license 11 éve
README.md 419d54644f Adding travis status icon 9 éve
build.properties d8acf8d45f Build: Using JAVA_HOME to find jdk. 9 éve
build.xml 4b3708d59c Running unit tests as part of travis build 9 éve
jadb.iml 2e9dd17bdd Build: Checking in JUnit4. 11 éve
jadb.properties 17206e0afa Adding ant build (Generated with IntelliJ 15) 9 éve
module_jadb.xml 17206e0afa Adding ant build (Generated with IntelliJ 15) 9 éve

README.md

#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.

Build Status

Example

Usage cannot be simpler. Just create a JadbConnection and off you go.

JadbConnection jadb = new JadbConnection();
List<JadbDevice> devices = jadb.getDevices();

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

A list of the available commands that a ADB Server may accept can be found here: Services

Author

Samuel Carlsson samuel.carlsson@gmai.com