Code example for WebSettings

Methods: setJavaScriptCanOpenWindowsAutomatically, setJavaScriptEnabled, setLayoutAlgorithm

0
        bindBrowser(appView);
         
        root.addView(appView);                   
        setContentView(root);                        
    } 
	 
	@Override 
    public void onConfigurationChanged(Configuration newConfig) {
      //don't reload the current page when the orientation is changed 
      super.onConfigurationChanged(newConfig);
    }  
     
    private void bindBrowser(WebView appView)
    { 
    	gap = new PhoneGap(this, appView);
    	geo = new GeoBroker(appView, this);
    	accel = new AccelListener(this, appView);
    	launcher = new CameraLauncher(appView, this);
    	mContacts = new ContactManager(this, appView);
    	fs = new FileUtils(appView);
    	netMan = new NetworkManager(this, appView);
    	mCompass = new CompassListener(this, appView);