I implement the many things using the webViewClient like onUnhandledKeyEvent,shouldOverrideUrlLoading and more.If want to add the support for alertbox then need to switch to WebChromeClient then i can not do other things.Any one know how mix the both future?
I have check the code for javasript alert box at http://lexandera.com/2009/01/adding-alert-support-to-a-webview/
Thank you
Implement the WebViewClient and WebChromeClient both like this
then implement the WebChromeClient for
javascript alert,confirm and prompt
for more details please check out http://code.google.com/p/mosembro/source/browse/trunk/src/com/lexandera/mosembro/Mosembro.java