-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,901
  • 21
  • 84
  • 115
vishnu vigneshwar
  • 109
  • 1
  • 1
  • 7

1 Answers1

0

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

Alex Shutov
  • 3,217
  • 2
  • 13
  • 11