Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
developers
/
samples
/
android
/
ff881f87821cd8bdc2132c57fcde69e1a1c1102c
/
.
/
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
>