How To Display Progress Bar..and Custom Title When launching website via intents from android application
<p>I am working on an application that opens a web browser using an intent. I want it to display a "Loading.." title bar, as well as display the status of the load(opening the web-page). On complete loading of the web-page, i want the application name to display in the title bar. I have seen something close, but it is for a web-view. My case is using an intent to launch it, below is my code. Thanks for your help.</p>

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

final Activity activity = this;
WebView webView;
@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  this.getWindow().requestFeature(Window.FEATURE_PROGRESS);
  this.setContentView(R.layout.main);
   Uri uri = Uri.parse("http://www.google.com");
  Intent intent = new Intent(Intent.ACTION_VIEW, uri);
  startActivity(intent);

}
}
</code></pre>
