Solutions for different problems, might not contain code

  1. Home
  2. chevron_right
  3. Solutions
  4. (Page 6)

Android HttpResponse content(body) to String

Snippets, Solutions
Usually I use the following code to convert a Http response content to String:   BufferedReader in = new BufferedReader(new InputStreamReader(response.getEntity().getContent())); StringBuilder responseBuilder = new StringBuilder(); String line = ""; while…
Exit mobile version