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