Maybe you could launch the browser and try to surf a web page ?

the emulator, as seen by your development machine, is just a normal
application that connects to the Internet through Winsock / BSD sockets, so
you won't know if it's properly "connected to the Internet" until you try to
make a connection.

(and don't block outgoing connections from your emulator in your firewall,
or you won't be able to do anything)

On Sun, Mar 30, 2008 at 2:17 PM, aTai <[EMAIL PROTECTED]> wrote:

>
> How do I check whether the phone/emulator is connected to the
> internet?
>
> I'm trying to connect with a server, and I need to figure out how to
> detect whether I have connectivity. Is there any way to do this on
> 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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to