Try to use the EntityUtil
on your response:
String responseBody = EntityUtils.toString(response.getEntity());
More Related Contents:
- How do you write to a folder on an SD card in Android?
- How do I make an http request using cookies on Android?
- Resume http file download in java
- Preemptive Basic Auth with HttpUrlConnection?
- Android project using httpclient –> http.client (apache), post/get method
- How to allow users to check for the latest app version from inside the app?
- how to resume an interrupted download – part 2
- How to get string response from Retrofit2?
- Sending HTTP Post Request with Android
- how to resume an interrupted download
- Send HTTP GET request with header
- Android’s HttpURLConnection throws EOFException on HEAD requests
- How to send a String array as basic name value pair as HTTPPOST?
- Writing to a file errors – Android Studio
- Display Animated GIF
- Error:Execution failed for task ‘:app:dexDebug’. com.android.ide.common.process.ProcessException
- Android Layout with ListView and Buttons
- how to access downloads folder in android?
- Calculate Difference between two times in Android
- Android: How to use download manager class?
- Convert String to Uri
- Internet listener Android example
- How can I crop a bitmap for ImageView?
- How to hide a View programmatically?
- Android – set TextView TextStyle programmatically?
- How do I detect the heap size usage of an android application
- Getting difference between two dates Android
- enable Annotation Processors option in Android Studio 2.2
- Android Studio 3.0 DexArchiveBuilderException
- unhandled exception type error