How to programmatically check availibilty of internet connection in Android?

Posted by Fahad on Stack Overflow See other posts from Stack Overflow or by Fahad
Published on 2010-12-25T16:48:01Z Indexed on 2010/12/25 16:54 UTC
Read the original article Hit count: 353

Hi! I want to check programmatically whether there is an internet connection in android phone/emulator. So that once I am sure that an internet connection is present then I'll make a call to the internet.

So its like "Hey emulator! If you have an internet connection, then please open this page, else doSomeThingElse();"

hope you get the idea. I would highly appreciate a quick response I need it quite early.

regards

Fahad Ali Shaikh

© Stack Overflow or respective owner

Related posts about java

Related posts about android