[android-developers] Re: HTTPClient post delay

2010-11-16 Thread Hal
We are not getting that type of delay. You may to try URLConnection. Just a thought . The following is an example. // Post request private String doPost (String request) { URLConnection urlConn; URL destURL; DataOutputStream outStream; DataInputStrea

[android-developers] Re: HTTPClient post delay

2010-11-16 Thread SImplyG2010
I had a look using wireshark it seems in between execute being called and the post being sent over the network is > 1 second so it seems the delay is in the execute call. Anyone know why this might be? On Nov 16, 12:17 pm, Daniel Drozdzewski wrote: > On Tue, Nov 16, 2010 at 4:22 PM, SImplyG2010 >

Re: [android-developers] Re: HTTPClient post delay

2010-11-16 Thread Daniel Drozdzewski
On Tue, Nov 16, 2010 at 4:22 PM, SImplyG2010 wrote: > Daniel what do you use instead? The weird thing is that the timings > shown above are purely for the execute call not the creation of the > client object or anything. Thomas, What I meant was that I have not been using HttpClient much in my

[android-developers] Re: HTTPClient post delay

2010-11-16 Thread SImplyG2010
Daniel what do you use instead? The weird thing is that the timings shown above are purely for the execute call not the creation of the client object or anything. On Nov 16, 11:09 am, Daniel Drozdzewski wrote: > On Tue, Nov 16, 2010 at 3:31 PM, SImplyG2010 > > wrote: > > Good morning everyone, >

[android-developers] Re: HTTPClient post delay

2010-11-16 Thread SImplyG2010
Hey Kostya It's the same result with IP address also I should point out it is way faster on an N1 running 2.2 than it is on an emulator or physical device (hero) running 2.1. On Nov 16, 10:33 am, Kostya Vasilyev wrote: > Just to take a guess: DNS ? > > What happens if you use the IP address in t