What Is Android Debug Bridge (adb)

This section describes the Android Debug Bridge (adb) tool, which allows you to manage an Android emulator or connected Android device like install application APK files.

What Is Android Debug Bridge (adb)? "adb" is the command line tool provided in the Android SDK package. "adb" stands for Android Debug Bridge which allows you to communicate with an emulator instance or connected Android-powered device to:

The "adb" command tool represented by the "adb.exe" file in the ./platform-tools folder. Here is what I did to test the "adb" tool quickly:

1. Run the Android emulator through the AVD Manager and wait for the emulator to be fully booted.

2. Go to a Windows command window and run the following commands:

C:\>cd \local\android-sdk-windows\platform-tools

C:\local\android-sdk-windows\platform-tools>adb version
Android Debug Bridge version 1.0.32

C:\local\android-sdk-windows\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
emulator-5554   offline

These tests tell me that the "adb" is working and able to communicate to the Android emulator. Also, the adb daemon (background service) has been started and listening on port 5037.

Table of Contents

 About This Book

 Installing JDK 1.8 on Windows System

 Installation of Android SDK R24 and Emulator

 Installing Apache Ant 1.9 on Windows System

 Developing First Android Application - HelloAndroid

 Android Application Package (APK) Files

Android Debug Bridge (adb) Tool

What Is Android Debug Bridge (adb)

 Commands and Options Supported by "adb"

 "adb install" and "adb uninstall" Commands

 "adb shell" - Remote Shell Interface

 "adb push" and "adb pull" Commands

 Android File Systems

 Android 4.0.3 File Systems

 AboutAndroid - Application to Retrieve System Information

 android.app.Activity Class and Activity Lifecycle

 View Objects and Layout Resource Files

 Using "adb logcat" Command for Debugging

 Build Process and Package File Content

 Building Your Own Web Browser

 Android Command Line Shell

 Samsung Galaxy Tab 3 Mini Tablet

 USB Debugging Applications on Samsung Tablet

 Android Tablet - LG-V905R

 USB Debugging Applications on LG-V905R Tablet

 Android Phone - LG-P925g

 USB Debugging Applications on LG-P925g Phone

 Outdated Tutorials


 Full Version in PDF/EPUB