HttpResponse entity to String

In previous post I explained how to post XML file to certain page on Web Server.
Response from Server can be read from HttpResponse entity, calling response.getEntity(), but it returns only coded message.
So, how then to get String value from it?

I found an answer on this blog Think Android.

You can use this function for getting HttpResponse entity in normal view.