You can call it as a web service and do nothing with the results. For example:
AsyncHttpClient client = new AsyncHttpClient();
client.get("http://172.17.27.173/yourpage", params, new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String response) { // 200 OK
// Do nothing
}
@Override
public void onFailure(int statusCode, Throwable error, String content) { // Response not 200
{
// Some troubleshooting, etc.
}
});
In order to see how to use the above code, you can take a look at here which has explained how to use the code for Android: http://loopj.com/android-async-http/
It is also possible to use some other library such as Apache Http client as well:https://hc.apache.org/
try {
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(url);
HttpResponse httpResponse = httpClient.execute(httpPost);
HttpEntity httpEntity = httpResponse.getEntity();
myContent = httpEntity.getContent();
} catch ...