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

Reply via email to