As Mark mentioned, first thing is add gzip/inflate support. I've come across this and skimmed some seconds using this.
Another thing I've noticed, and not sure what the issue is. It's that HttpClient is much slower than HttpURLConnection. On Tue, May 17, 2011 at 10:53 AM, Mark Murphy <[email protected]>wrote: > Get a faster Web server. Do more caching and such on the server. Use > If-Modified-Since and related caching headers. Send less data (up or > down). Use GZip compression (up and down). > > In other words, start with the techniques that have been used for the > past 10-15 years. > > On Tue, May 17, 2011 at 1:50 PM, singalashok <[email protected]> > wrote: > > Hi Friends, > > > > My android app is trying to POST some XML data to the server using the > > following statement: > > > > response = client.execute(uriReq); > > > > I have only set the timeout parameters of the client and entity, > > content-type parameters of the Uri request. > > > > Problem is that when the above statement is run, it takes from seconds > > to minutes depending upon the network coverage. My question: is there > > a way i can reduce the time it takes to execute this statement? > > > > Because this will drastically increase the performance of my > > application. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 3.4 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

