Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File from = new File(Environment.getExternalStorage().getAbsolutePath()+"/kaic1/imagem.jpg");
- File to = new File(Environment.getExternalStorage().getAbsolutePath()+"/kaic2/imagem.jpg");
- from.renameTo(to);
- File file1 = new File("mnt/sdcard/kaic1/imagem.jpg");
- File file2 = new File("mnt/sdcard/Kaic2/imagem.jpg");
- file1.renameTo(file2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement