Phones & Tablets

How to check internet connection in android programmatically?

In android, we can determine the internet connection status easily by using getActiveNetworkInfo() method of ConnectivityManager object. Following is the code snippet of using the ConnectivityManager class to know whether the internet connection is available or not. How do I check my internet connection on Android? Open your Settings app “Wireless and Networks” or “Connections” …

How to check internet connection in android programmatically? Read More »