I just want to grab this string, pretty simple. I know it can be done through http get, but I just dont know how.
Any help would be much appreciated!
I tried this, but it only gives me: "BasicHttpResponse@44fd..."
- Code: Select all
HttpClient httpClient = new DefaultHttpClient();
try {
String url = "http://connect-utb.com/ushout/handle_download.php";
Log.d("phobos", "performing get " + url);
HttpGet method = new HttpGet(new URI(url));
HttpResponse response = httpClient.execute(method);
String results;
results = response.toString();
shout_text.setText(results);
}
catch (Exception ex)
{
//Exception handling
}




