progress bar while loading web page/android
<p>I would like to know if it is possible to include a progress bar, so that when a user presses the certain button -- it loads the page but the progress bar shows before the page is loaded. here is my code.</p>

<pre><code>public class Sites extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.sites);

  View.OnClickListener openIt = new View.OnClickListener() {
    public void onClick(View v) {
        startActivity(new Intent(
              Intent.ACTION_VIEW,
              sites.this,   
              com.abc.example.Address.class
         ));
    }
  };

  Button sites= (Button) findViewById(R.id.siteA);
  sites.setTag(Uri.parse("http://sitea.com/")); 
  sites.setOnClickListener(openIt);     

  sites = (Button) findViewById(R.id.siteB);
  sites.setTag(Uri.parse("http://siteb.com/"));
  sites.setOnClickListener(openIt);

  sites = (Button) findViewById(R.id.siteC);
  sites.setTag(Uri.parse("https://sitec.com/"));
  sites.setOnClickListener(openIt);

  sites = (Button) findViewById(R.id.siteD);
  sites.setTag(Uri.parse("https://sited.com/"));
  sites.setOnClickListener(openIt);
}
</code></pre>
