I am not able to make a call on AsyncTask and IntentService. I am developing an android app which has user registration activity. When a user enters a username in registration activity, I have to check, whether the username is already taken or not by sending a HTTP request to server. The response from the server is JSON object with usernames.
Please help me in taking call to design background username check AsyncTask/ IntentService with pros and cons.