如何在单独的线程中实现一种方法,该方法在 Android 上的文件夹之间执行文件传输,并在传输此文件后从源文件夹中删除?
Some hints:
A simple way of moving a file to a new location:
File file = new File(filename);
boolean success = file.renameTo(new File(newName));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.