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