Re: [android-developers] String being truncated when its long

2010-08-26 Thread Jake Radzikowski
reader = new BufferedReader(new InputStreamReader(inputStream), 8000); I'm gunna guess that 8000 has something to do with it :). I usually use the following: reader = new BufferedReader(new InputStreamReader(inputStream, "UTF-8")); On Thu, Aug 26, 2010 at 3:40 PM, Achanta wrote: > > > I am tr

[android-developers] String being truncated when its long

2010-08-26 Thread Achanta
I am trying to get a JSON response from our server and the response string seems is always being truncated when the string length reaches to around 5525 characters. HttpClient httpClient = new DefaultHttpClient(); HttpPost post = new HttpPost(URL); ResponseHandler responseHandler= new BasicRespo