how to read and use the content of a website in android app
问题 I actually have to read and use the content of some website in an Android app. I majorly e used two different codes till now to get the content of a website but they did not work for me public static String connect(String url) { String result = "bubububu" ; HttpClient httpclient = new DefaultHttpClient(); // Prepare a request object HttpGet httpget = new HttpGet(url); // Execute the request HttpResponse response; try { response = httpclient.execute(httpget); // Examine the response status Log