Sunday, September 11, 2011

[android-developers] Re: BufferedReader hangs on readline

It seem to work if I use read instead of readline like:


char[] buf = new char[8192];
int charsRead;
charsRead = d.read(buf,0,buf.length);

Are end of line characters handled differently in Android?


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment