I need the images used in the system not to appear in the android gallery application, because they are images used only by the system and when viewing them some clients delete them.
I need the images used in the system not to appear in the android gallery application, because they are images used only by the system and when viewing them some clients delete them.
To hide the images from your system, just create a new file in the folder where you put your images, named:
.nomedia
I found the answer here
after that the images will no longer appear in the gallery application.
It's like this in practice
procedure botao_qualquer;
var
a: TStringList;
pasta: string;
begin
pasta:= "caminho da pasta onde estão os arquivos";
a:= TStringList.Create;
a.SaveToFile(pasta+'.nomedia');
a.Free;
end;