How to programmatically move, copy and delete files and directories on SD?
set the correct permissions in the manifest <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” /> below is a function that will programmatically move your file private void moveFile(String inputPath, String inputFile, String outputPath) { InputStream in = null; OutputStream out = null; try { //create output directory if it doesn’t exist File dir = new File (outputPath); if (!dir.exists()) { … Read more