Sign in
android
/
platform
/
developers
/
samples
/
android
/
eb51cbc374fc6841d2287fdc74cb7cceaf6b8812
/
.
/
connectivity
/
network
/
NetworkConnect
/
_index.jd
blob: f9d507bea9cd855cad0d6f9576b2b3b2d83ed61a [
file
] [
log
] [
blame
]
page
.
tags
=
"NetworkConnect"
sample
.
group
=
NoGroup
@jd
:
body
<p>
This
sample demonstrates how to connect to the network
and
fetch raw HTML
using
HttpURLConnection
.
AsyncTask
is
used to perform the fetch on a background thread
.
</
p
>