1 / 3

Android Debug Bridge ( adb )

Android Debug Bridge ( adb ). Chien -Chung Shen CIS, UD cshen@cis.udel.edu. Introduction to adb. Located in < sdk >/platform-tools A versatile command line tool using client-server paradigm of 3 components

diamond
Download Presentation

Android Debug Bridge ( adb )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Android Debug Bridge (adb) Chien-Chung Shen CIS, UD cshen@cis.udel.edu

  2. Introduction to adb • Located in <sdk>/platform-tools • A versatile command line tool using client-server paradigm of 3 components • Client on development machine: invoke a client from shell by running adb command • Serveron development machine • adb daemon on emulator or device • When starting an adb client, check whether a server is running. If not, starts one which binds itself to local TCP port 5037 • Server sets up connections to all emulator/device instances by scanning odd-numbered ports in [5555,5585] • Even-numbered port – console connection • Odd-numbered port – adb connection • More at http://developer.android.com/tools/help/adb.html

  3. Some Useful adb Commands • adb push/pull • adb shell <shell command> • Remote shell -adb shell • SharedPreferences files are stored in /data/data/<pkg name>/shared_prefs • e.g.,root@android:/data/data/com.deitel.favoritetwittersearches/shared_prefs

More Related