Loading picture show loading progress
<p>I use the function to show picture:</p>

<pre><code>Bitmap imageBitmap = loadBitmap(URL);
</code></pre>

<p>loadBitmap() as below:</p>

<pre><code>private Bitmap loadBitmap(String url) {
try {
Bitmap bm = BitmapFactory.decodeStream((InputStream)this.fetch(url));
return bm;
}
catch(Exception e) {
e.printStackTrace();
return null;
}
} 
</code></pre>

<p>And fetch() below:</p>

<pre><code>public Object fetch(String address) {
try {
URL url = new URL(address);
Object content = url.getContent();
return content;
}
catch(Exception e) {
e.printStackTrace();
}
return this;
}
</code></pre>

<p>I want to show the loading progress or a load.png while it loading.
And end with the picture loading finish and show it.
How can I do?
I try to make like ProgressDialog.
But I don't know how to use?</p>
