I am familiar with adb pull command. Is it possi开发者_JAVA技巧ble to pull a file from android device/emulator and saving it in specified location in PC programmatically?
In C, on linux use system() to execute adb (perhaps by its full path) with the appropriate arguments. OSX is probably something quite similar.
On windows... CreateProcess() but that returns before the child is finished, so you may have to spend some time wandering around MSDN to figure out the equivelent of system()
精彩评论