Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “NetworkInfo”:

Android: Checking Connectivity


Whenever your app needs to access the internet, you should be sure that it can do so. To find more about the state of the connectivity, Android provides two classes that help you with this task: ConnectivityManager and NetworkInfo. As usual in Android you do not create the ConnectivityManager yourself, but ask the Context-object to […]  Continue Reading  “Android: Checking Connectivity”