Anna PS wrote:
> Hi all,
>
> I'm getting a server response back in ddms, here's my code:
>
> InputStream responseStream =
> method.getResponseBodyAsStream();
> responseString = convertStreamToString(responseStream);
> // standard
> function for InputStream > String
> int statusCode = method.getStatusCode();
> method.releaseConnection();
> Log.e("httpPost", "Response string: " + responseString
> + ", code: "
> + statusCode);
>
> But I'm finding that ddms logs only show about the first 50 lines of
> the response, then cuts everything else off, which isn't very helpful,
> since it means I can't see any of the useful info. I don't have much
> control over the content of the response - it's a standard Django
> debug page, i.e. quite long.
>
> Does anyone know how I can get ddms to show the whole thing?
Don't dump it to DDMS. Write it out as a file to the SD card and put a
message in DDMS saying "hey! go look at this file on the SD card!".
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android 2_ from Apress Now Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.