I'm developing an Android application that send some string via Http Post to ASP page with a library AsyncHttpResponse (loopj).
AsyncHttpClient device = new AsyncHttpClient();
...
device.post("http://aspspider.info/remod/webroot/provaNome.aspx",
new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String response) {
text.setText(response); //TextView on activity
}
});
The Asp.net page (provaNome.aspx) should return a string (ex. "holla") with a command
Response.Write("holla");
The communication work, but the response return a html page (with title "Configuration Error") and not only the string. Where I find my string return?
Thank you a lot!