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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -