cp on Android
Android :
2010. 2. 9. 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.
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 |
---|---|
Hello World C program using Android Toolchain (0) | 2010.02.09 |
Android C native development – take full control! (0) | 2010.02.09 |