cp on Android

Android : 2010.02.09 15:56

출처 : http://android-tricks.blogspot.com/2009/02/cp-on-android.html
The Android Dev Phone (and G1, by extension) does not have the cp command in the adb shell prompt. Since you can compile and run C code on the phone, you could in theory also compile the cp program but that's probably a stretch. Alternatively, you can:
cat source_file > dest_file

This works because the phone has a full-featured shell which supports stream redirection.

'Android' 카테고리의 다른 글

Mount a filesystem read-write  (0) 2010.02.09
cp on Android  (0) 2010.02.09
Hello World C program using Android Toolchain  (0) 2010.02.09
Android C native development – take full control!  (0) 2010.02.09
Posted by Real_G