Ver Mensaje Individual
  #3  
Antiguo 02-12-2016
NicolasP NicolasP is offline
Miembro
 
Registrado: may 2013
Posts: 28
Reputación: 0
NicolasP Va por buen camino
Jhonny :
No me dice ningún error , se va al fondo y cuando la traigo se reinicia. La verdad no se bien como depurar en android,
tal vez me falte configurar algo para que me diga los errores. Gracias por tu interés.
Código Delphi [-]
  Memo1.Lines.clear;
  AniIndicator1.Enabled := true;
  AniIndicator1.visible := true;
 Hilo := THilo.Create(True);
 Hilo.Start;
 while not Hilo.Finished do
  begin
      sleep(20);
   Application.ProcessMessages;
  end;
  AniIndicator1.Enabled := false;
  AniIndicator1.visible := false;

proceso en el thread

Código Delphi [-]
procedure THilo.Execute;
begin
  FmMain.RestClient1.BaseURL := sitio\consulta.php?doc='+ FmMain.Ed_idcliente.text;
  FmMain.RestRequest1.Execute;
end;

Insisto , si viene un registro en json funciona perfecto, tanto en win como en android.
Responder Con Cita