I am trying to make backup of my Android application, application made in Delphi. I am using the TFDSQliteBackup
component with the following code, it executes and creates the file, but the file is blank does anyone know how to proceed ??
try
try
DataModule1.FDConnection1.Close;
DataModule1.backup.DestDatabase:= '/storage/sdcard0/tedesco.controlefinanceiro.SQLITE3';
DataModule1.backup.Backup;
except
on e:Exception do
begin
ToastMessage(e.Message);
end;
end;
finally
ToastMessage('Backup Concluido');
end;