[android-developers] Re: Crash reading by 16384 of file

2008-08-28 Thread Jon Webb
That's all done -- issue 811. Android has confirmed the bug and will assign it to an engineer. -- J On Aug 27, 3:42 pm, Ralf <[EMAIL PROTECTED]> wrote: > Please file a bug in the tracker with a little snippet of code to reproduce > it. > > R/ > > On Wed, Aug 27, 2008 at 9:06 AM, Jon Webb <[EMAIL

[android-developers] Re: Crash reading by 16384 of file

2008-08-27 Thread Ralf
Please file a bug in the tracker with a little snippet of code to reproduce it. R/ On Wed, Aug 27, 2008 at 9:06 AM, Jon Webb <[EMAIL PROTECTED]> wrote: > > BTW, I tracked the fault down to a bug in the Android SDK. It is that > InputStreamReader.read(char[], int, int) doesn't always work across

[android-developers] Re: Crash reading by 16384 of file

2008-08-27 Thread Jon Webb
BTW, I tracked the fault down to a bug in the Android SDK. It is that InputStreamReader.read(char[], int, int) doesn't always work across buffer boundaries. Sometimes a NUL (0) gets inserted in the char[] array. I changed my code so that it uses InputStreamReader.read() repeatedly when I have to r