How to move android firemonkey files?

1

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?

    
asked by anonymous 07.03.2017 / 13:55

1 answer

3

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');
    
07.03.2017 / 15:03