Code example for WebViewClient

0
		super(context);
		// TODO Auto-generated constructor stub 
		 
		webView = new WebView(context);
		webView.getSettings().setJavaScriptEnabled(true);
		WebViewClient wc = new WebViewClient();
		webView.setWebViewClient(wc);
		 
		this.addView(webView);
		 
	} 
 
	 
	public void setWebViewPosition(int x, int y) {
		posx = x;
		posy = y;
	} 
	 
	public void setWebViewSize(int x, int y) {
		sizex = x;
		sizey = y;