开发者

Pull a file from android emulator/device programmatically

开发者 https://www.devze.com 2023-01-28 20:32 出处:网络
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

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()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号