If your question is "how do I find out when the page is loaded?", then:
Create a custom subclass of WebViewClient, overriding onPageFinished()
Attach an instance of your WebViewClient subclass to your WebView via setWebViewClient()
Set up the indefinite progress indicator (bar, dialog, RotateAnimation, etc.)
(progressDialog = ProgressDialog.show(this, "",
getText(R.string.progressDialogText), true);)
before calling loadUrl() on the WebView
Have onPageFinished() get rid of the progress indicator (progressDialog.dismiss())