main activity's UI.</li>

</ol>

 <h2 id="download">Connect and Download Data</h2>
 
 <p>In your thread that performs your network transactions, you can use 
 <code><a href="../../../reference/java/net/HttpURLConnection.html">HttpURLConnection</a></code> to perform a <code>GET</code> and download your data. 
 After you call <code>connect()</code>, you can get an <code><a href="../../../reference/java/io/InputStream.html">InputStream</a></code> of the data 
 by calling <code>getInputStream()</code>.
 
 <p>In