Code example for WebViewClient

0
         
        wv.setWebViewClient(new DialogWebViewClient());
         
        WebSettings ws = wv.getSettings();
        ws.setJavaScriptEnabled(true);
        //ws.setSaveFormData(false); 
         
        //wv.loadUrl(url); 
         
        RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);       
        layout.addView(wv, lp);
         
         
    } 
     
    public void load(){ 
    	if(wv != null){
    		wv.loadUrl(url);
    	} 
    }