vishnu vigneshwar vishnu vigneshwar - 1 year ago 109
Android Question

Android code for Fastest Way to retrieve data from web server to android! Native method or 3rd party library?

I am using an

to download a JSON string from webserver.

While debugging the code I realized that the time taken to transfer control from the function call in background is taking too much time.

public class Downlog extends AsyncTask<String, String, String>{
// ...

After entering in background the data downloaded a little faster.

I want to know how to download the data fast

Answer Source

Definetely Third party library (if you don't want reinvent the wheel :) )

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download