• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


24 Mar, 2025

Updated at 18 May, 2025

Can I build my own Android adb client using existing adb API library? (not from scratch)

I have been using Adroid's SDK tools' adb (client) command from the terminal and works fine.

I want to build a program which does adb shell calls, pulls, pushes, etc. Instead of shelling out whenever I want to do an adb call, it would be more convenient to me to link to an "adb-api" library and programmatically call these functions from my program and possibly receiving back data structures instead of plain text which I have to parse.

My questions:

  1. What language is SDK tools' adb client written in? Has it got a library and has it got bindings for other languages?
  2. is there such a thing as an official android adb-api library I can link my program against?

Ideally I would like to program this in Java or C++.