0
안드로이드에있는 한 위치에서 다른 위치로 비디오를 복사/이동하려는 문제로 고생했습니다. 누구나 어떻게하는지 알 수 있습니다.?Android에서 동영상을 한 위치에서 다른 위치로 복사
안드로이드에있는 한 위치에서 다른 위치로 비디오를 복사/이동하려는 문제로 고생했습니다. 누구나 어떻게하는지 알 수 있습니다.?Android에서 동영상을 한 위치에서 다른 위치로 복사
private String CopyFile(String srcPath,String destPath)
{
String videoFileName = VIDEO_FILE_PREFIX + mCurrentQuestion.getQuestionId() + VIDEO_FILE_SUFFIX ;
File source= new File(srcPath);
File destination= new File(destPath+"/"+videoFileName);
source.renameTo(destination);
return destPath+"/"+videoFileName;
}
http://exampledepot.com/egs/java.io/CopyFile.html을 참조하십시오. – MAC