2012-07-07 115 views

回答

0
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; 
} 
相關問題