There is no problem with Internet connection in android. The function jHttpClient is really not working. In contrast, httpsend from synapse package is working for a http request, but https not. This is my problem now.
HttpGET: THTTPSend;
URL:='
https://www ......';
My simple code is:
HttpGET:=THTTPSend.Create;
HttpGET.Sock.CreateWithSSL(TSSLOpenSSL);
HttpGET.Sock.SetTimeout(5);
HttpGET.Sock.SSLDoConnect;
teste:=HttpGET.HTTPMethod('GET', URL);
Once again, the same code works well in Linux. In android, a https request is returning nothing. Is there some thing related with android and Linux openssl lib?