Actually when I tried to open browser and gives address for google.com
then also emulator shows page can not be displayed. But on my computer
net is working properly. I know all these code works perfectly before
on emulator. But I don't understand what happen them now? Is there is
any setting for emulator to connect with internet?

On Nov 2, 10:37 am, "pramod.deore" <deore.pramo...@gmail.com> wrote:
> I think I missed something. Because when I tried xml parsing code 
> fromhttp://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-....
> Then also it gives me output as The operation timed out. Means when I
> tried to connect to internet then it show this message.
>
> On Nov 2, 10:28 am, "pramod.deore" <deore.pramo...@gmail.com> wrote:
>
> > 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

Reply via email to