private void rename_folder(String location,String oldname, String newname) {
// TODO Auto-generated method stub
File file = new File(getFilesDir() +location,oldname);
File file2 = new File(getFilesDir() +location,newname);
boolean success = file.renameTo(file2);
}
------------------------------------------
沒有留言:
張貼留言