-4

I am using an AsyncTask 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

Phantômaxx
  • 37,352
  • 21
  • 80
  • 110

1 Answers1

0

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

Alex Shutov
  • 3,176
  • 2
  • 12
  • 11