SHARE
TWEET

Untitled

a guest Nov 24th, 2013 34 Never
  1. File from = new File(Environment.getExternalStorage().getAbsolutePath()+"/kaic1/imagem.jpg");
  2. File to = new File(Environment.getExternalStorage().getAbsolutePath()+"/kaic2/imagem.jpg");
  3. from.renameTo(to);
  4.        
  5. File file1 = new File("mnt/sdcard/kaic1/imagem.jpg");
  6. File file2 = new File("mnt/sdcard/Kaic2/imagem.jpg");
  7.  
  8. file1.renameTo(file2);
RAW Paste Data
Top