[android-developers] Re: openInputStream problem

2009-03-30 Thread Tejas
Well yes it was going into an infinite loop.. But suddenly its started working !! but its slow...! Greg, I'll try your suggestion. Regards, Tej On Mar 20, 12:02 am, Greg Krimer wrote: > What do you mean readBytes never gets set to -1? Is the code going > into an infinite loop? Or are you steppi

[android-developers] Re: openInputStream problem

2009-03-19 Thread Greg Krimer
What do you mean readBytes never gets set to -1? Is the code going into an infinite loop? Or are you stepping though it in a debugger. In the later case, it would take a *very* long time for readBytes to be set to -1 because you are reading and writing one byte at a time. I am not sure if this is