Question

I have a following problem: I need to save files on the android device using adb however I can't save this files on developing computer due to sercurity reasons. That basicly means I can't use adb push.

I was thinking about some kind of tool that I will run as "adb shell" command which will automatically write everything that I put on standard input of this tool to a predefined file.

Can anybody suggest what can I use?

Was it helpful?

Solution

You can implement adb SYNC protocol in your program, so it would be able to upload your files from a memory buffer instead of a disk file.

OTHER TIPS

You can use script command after this everything will be written in specified file

script -f filename

Refer http://linux.about.com/library/cmd/blcmdl1_script.htm for more information

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top