最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin4浏览0评论

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++.

发布评论

评论列表(0)

  1. 暂无评论