Hi any one help me to how to handle its failure state ?
AsyncHttpClient client = new AsyncHttpClient();
client.get("http://www.google.com", new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String response) {
System.out.println(response);
}
});
http://loopj.com/android-async-http/
Plz help