This question has been asked before but, I’m a newbe and having issues trying to get it to work. My question is how do I get a Progress Dialog to show up everytime a user clicks a link in webview. I have a dialog that shows when the app is first started but, does not show a dialog when the links are clicked. I’m pretty sure that the solution is here , but I just cant seem to put them together properly for it to work….. Can someone please help me put this together.
My Code
See the approved anwser
I didn’t get any help with my problem but I finally figured it out. I’m posting an example project to help anyone with the same problem. This is a web_view project that shows a (page Loading…) dialog, every time a link is clicked. This example also checks for an Internet connection…
Download the Eclipse project here
Here are my two java files. The file below contains the solution for the progress dialog.
This java file checks for a Internet Connection. If no connection is available the application will close.