diff options
author | Trevor Johns <trevorjohns@google.com> | 2014-11-12 11:39:30 -0800 |
---|---|---|
committer | Trevor Johns <trevorjohns@google.com> | 2014-11-12 11:39:30 -0800 |
commit | 527a4f30a69aaa54fc9654539f0b6d839e37af3c (patch) | |
tree | 38f816a286e672e8f00caed6a0344c3c18632a78 /samples/browseable/BasicNetworking/_index.jd | |
parent | fcd28181a15ebe95724fe096a8b5198c964b0d7f (diff) | |
download | android_development-527a4f30a69aaa54fc9654539f0b6d839e37af3c.tar.gz android_development-527a4f30a69aaa54fc9654539f0b6d839e37af3c.tar.bz2 android_development-527a4f30a69aaa54fc9654539f0b6d839e37af3c.zip |
Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes
new samples for Android Auto.
Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
Diffstat (limited to 'samples/browseable/BasicNetworking/_index.jd')
-rw-r--r-- | samples/browseable/BasicNetworking/_index.jd | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/samples/browseable/BasicNetworking/_index.jd b/samples/browseable/BasicNetworking/_index.jd index 223ba765a..3b7a39a23 100644 --- a/samples/browseable/BasicNetworking/_index.jd +++ b/samples/browseable/BasicNetworking/_index.jd @@ -1,10 +1,12 @@ - - - page.tags="BasicNetworking" sample.group=Connectivity @jd:body -<p>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.</p> +<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> |