Android Debug Bridge (ADB)

Monday, February 27, 2012

Android Debug Bridge (ADB) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. It is a client-server program that includes three components:

  • A client, which runs on your development machine. You can invoke a client from a shell by issuing an adb command. Other Android tools such as the ADT plugin and DDMS also create adb clients.
  • A server, which runs as a background process on your development machine. The server manages communication between the client and the adb daemon running on an emulator or device.
  • A daemon, which runs as a background process on each emulator or device instance.
Developers can also use ADB to interact with the device file system, install Android applications manually, and issue shell commands.

For example, the sqlite3 shell commands enable you to access device database.The Application Exerciser Monkey commands generate random input and system events to stress test your application. One of the most important aspects of the ADB for the developer is its logging system (Logcat).

For more information about the ADB, see Appendix C,“The Android Debug Bridge Quick-Start Guide.” For an exhaustive reference, see the Android SDK Documentation at http://developer.android.com/guide/developing/tools/adb.html.

    0 comments:

    Post a Comment

    Note: Only a member of this blog may post a comment.