adilerson23 Novato

Registrado: Terça-Feira, 12 de Agosto de 2014 Mensagens: 2
|
Enviada: Ter Jun 14, 2016 1:17 pm Assunto: TimageViewer no xe8 e android fica branca |
|
|
Quando emulo android aparece corretamente a foto dentro do ImageViewer
mas quando abro em um celular a imagem aberta vinda de um idhttp, não aparece.
Obs, se eu coloco em um Timage funciona perfeitamente.
try
IdHttp1.Get('http://www.studiocg.com.br/cg/'+endereco_online, Strm);
if (Strm.Size > 0) then
begin
Strm.Position := 0;
case tab.TabIndex of
0 : img_bg.bitmap.LoadFromStream(strm);
1 : img_bg1.bitmap.LoadFromStream(strm);
2 : img_bg_escolhidas.bitmap.LoadFromStream(strm);
end;
end;
finally
Strm.free;
end; |
|