Created
February 10, 2015 16:21
-
-
Save ajamaica/1ce1da8f229744960790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsyncHttpClient asyncHttpClient = new AsyncHttpClient(); | |
asyncHttpClient.prepareGet("http://hsasolutions.cloudapp.net/OptiCompraWS/OptiC/B/Opticompra.asmx/EntregaPrecios?pIdMuni=0&id_prod=339&pos_lat=0&pos_lon=0&Login_app=0&Password_app=0&pVers=0&pRadio=0").execute(new AsyncCompletionHandler(){ | |
@Override | |
public Response onCompleted(Response response) throws Exception{ | |
// Do something with the Response | |
// ... ` | |
return response; | |
} | |
@Override | |
public void onThrowable(Throwable t){ | |
// Something wrong happened. | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment