Files
android_development/samples/browseable/BasicNetworking/_index.jd
Dirk Dougherty 4b737b695e Add prebuilt browseable samples as static files.
Change-Id: Ifb5382223343400882834d2dd9c182c3df602e34
2013-10-29 20:56:17 -07:00

16 lines
511 B
Plaintext

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>