id="stream">Convert the InputStream to a String</h2>

<p>An <code><a href="../../../reference/java/io/InputStream.html">InputStream</a></code> is a readable source of bytes. Once you get an <code><a href="../../../reference/java/io/InputStream.html">InputStream</a></code>, 
it's common to decode or convert it into a
target data type. For example, if you were downloading image data, you might
decode and display it like this:</p>

<pre>InputStream is = null;
...
Bitmap bitmap = BitmapFactory.decodeStream(is);