Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ADB API from C/C++ Applications

Tags:

c++

c

android

adb

I want to communicate to the adb service on my android phone (via USB) from my c/c++ application.

It has to be "fast", so going out to the shell to run a Java program is out of the question.

Are there any examples anywhere of this being done, and the API for this type of connection?

Thanks.

like image 676
Sam Avatar asked Dec 31 '10 16:12

Sam


1 Answers

Sorry, Android applications don't have access to the adb socket.

like image 166
hackbod Avatar answered Oct 16 '22 06:10

hackbod



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!