1 page.tags="BasicNetworking" 2 sample.group=Connectivity 3 @jd:body 4 5 <p> 6 7 This sample demonstrates how to use the ConnectivityManager to determine if you have 8 a network connection, and if so, what type of connection it is. 9 \n\nA "NetworkInfo" object is retrieved from the ConnectivityManager, which contains information 10 on the active connection, and then the connection type is printed to an on-screen console. 11 12 </p> 13