Personal Blog of Mustafa Basgun

Posts Tagged ‘connectivitymanager

Check to See If Android Device is Connected to Internet by Using isReachable Method

with one comment

If you need to check to see if the Android device is connected to the internet, an alternative (and simple but limited) way to using the ConnectivityManager class can be calling the isReachable method. Here is a sample function:

mustafa-basgun-blog-android-check-internet-connectivity-1

Written by Mustafa Basgun

October 11, 2010 at 11:23 AM