Copy Video From One location to another in Android -


i m stuck issue want copy/move video 1 location inside sdcard in android. know how that.?

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; } 

Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -