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:
- What language is SDK tools' adb client written in? Has it got a library and has it got bindings for other languages?
- 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++.