Hi All,
My application is required to find the time elapsed for downloading a small sized file by using HttpClient (HTTP GET) on Android.
I captured the nanoTime before and after the HttpClient.execute in order to find out the elapsed time. At the same time, I collected the TCP dump to find out the elapsed time between HTTP GET and response 200.
i found that there is the difference of nanoTime is 30% to 50% higher than the elapsed time from TCP dump.
Is there any suggestion to minimize such difference ? Using Httpurlconnection ?
Best regards,
Henry Fok