I need to move a file from the system folder to another folder. I have a BD inside the system folder, I want to generate a backup, so I want to copy the BD.db3 to another folder and then compact it.
My question is how to move the file?
I need to move a file from the system folder to another folder. I have a BD inside the system folder, I want to generate a backup, so I want to copy the BD.db3 to another folder and then compact it.
My question is how to move the file?
If someone also has this question, follow the link that helped me: link
uses Androidapi.IOUtils
TFile.Copy(TPath.GetDocumentsPath + PathDelim + 'DADOS1.db3',
GetSharedDownloadsDir + PathDelim + 'DADOS1.db3');