Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “Networking”:

Android: Checking Connectivity

By

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”