You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
493 B
14 lines
493 B
|
|
page.tags="BasicNetworking"
|
|
sample.group=Connectivity
|
|
@jd:body
|
|
|
|
<p>
|
|
|
|
This sample demonstrates how to use the ConnectivityManager to determine if you have
|
|
a network connection, and if so, what type of connection it is.
|
|
\n\nA "NetworkInfo" object is retrieved from the ConnectivityManager, which contains information
|
|
on the active connection, and then the connection type is printed to an on-screen console.
|
|
|
|
</p>
|