ADB Client in pure Java.
Go to file
Samuel Carlsson 58db71039d Merge pull request #5 from vidstige/gi-tests-rebased
Runs tests as part of travis build
2016-03-28 16:11:55 +02:00
.idea Adding ant build (Generated from IntelliJ 15) 2016-03-03 06:55:28 +01:00
lib Removing unused jar 2016-03-03 07:36:29 +01:00
META-INF Adding jar artifact 2014-04-02 19:44:28 +02:00
src/se/vidstige/jadb Filtering out 0x0d, 0x0a sequences from shell commands. Makes screenshotting work again. :-) 2016-03-28 14:01:17 +02:00
test/se/vidstige/jadb/test Automatically skipping real device tests if no connection to adb server. 2016-03-28 16:08:33 +02:00
.classpath Adding Eclipse project file and classpath 2013-07-26 09:09:00 +02:00
.gitattributes Initial commit 2013-07-25 20:45:28 +02:00
.gitignore Filtering out 0x0d, 0x0a sequences from shell commands. Makes screenshotting work again. :-) 2016-03-28 09:41:53 +02:00
.project Adding Eclipse project file and classpath 2013-07-26 09:09:00 +02:00
.travis.yml Adding travis-ci build 2016-03-02 21:39:14 +01:00
build.properties Build: Using JAVA_HOME to find jdk. 2016-03-03 07:29:34 +01:00
build.xml Running unit tests as part of travis build 2016-03-28 16:08:33 +02:00
jadb.iml Build: Checking in JUnit4. 2014-03-21 19:38:21 +01:00
jadb.properties Adding ant build (Generated with IntelliJ 15) 2016-03-03 06:56:15 +01:00
LICENSE.md Adding the Apache 2.0 license 2014-02-24 07:53:11 +01:00
module_jadb.xml Adding ant build (Generated with IntelliJ 15) 2016-03-03 06:56:15 +01:00
README.md Adding travis status icon 2016-03-02 21:55:05 +01: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.

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