But if I print some statement before while loop then also it is not printed. I really don't understand what's going on?
On Nov 2, 10:18 am, Frank Weiss <fewe...@gmail.com> wrote: > The loop in your code blocks on bis.read() for as long as it takes to get > the next byte from the server over the network. I'm sure you understand that > that loop can take many seconds, even minutes to finish, depending on many > factors. During that time, creation of your activity is effectivity in > limbo. The Android OS won't let the onCreate method of your activity run for > that long. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en