title: android phonegap/cordova change property on webview
body: <p>In the past, I have changed a normal <code>Webview</code> property on Android. For example:</p>
  
  <pre><code>wv.getSettings().setAllowUniversalAccessFromFileURLs(true);
  </code></pre>
  
  <p>where wv is a variable of webview. Now, I have an <code>phonegap/cordova</code> app, and I want to change
  the same line of code, I have been trying the the following way:</p>
  
  <p><code>super.appView.getSettings().setAllowUniversalAccessFromFileURLs(true);</code></p>
  
  <p>and also like:</p>
  
  <pre><code>super.appView.getSettings().setAllowUniversalAccessFromFileURLs(true);
  </code></pre>
  
  <p>I don't get any compiling errors, but when I add that line of code on the onCreate method, the app just closes. I have been trying to add the line on the onCreate method at different places, like, before and after the super.onCreate and before and after loading the html (<code>super.loadUrl("file:///android_asset/www/index.html")</code>, but the app always closes. Any of you know if it is possible to change that property on phonegap/cordova ?</p>