开发者

Pull a file from android emulator/device programmatically

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜