page.tags="NetworkConnect" sample.group=Connectivity @jd:body
This sample demonstrates how to connect to the network and fetch raw HTML using HttpsURLConnection. AsyncTask is used to perform the fetch on a background thread.