page.tags="BasicNetworking" sample.group=Connectivity @jd:body
This sample demonstrates how to use the {@link android.net.ConnectivityManager} to determine if the device has an active network connection, and if so, retrieve the connection type.