How do I check network state?

Check Internet Connection Status 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.

Sizin İçin Seçtik  What is libc ++_ shared so?

Leave a Reply

Your email address will not be published. Required fields are marked *