I want to copy file from on directory to another in my native C program. I
tried using system function but it's not working.
I tried this code in native code of Android
int result = system("cp /mnt/test /Download/"); // It's not working
This system function returns 256 (error code) integer value. So we can say
system function is working in Android. I also installed BusyBox so I can
use the cp command also.
If I execute directly cp /mnt/test /Download/ command then it's working
fine.
So what is problem here in system function. Have I missed something?
Thanks
Sam Jona
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en