title: Howto enable/disable Flash in Preferences on Android WebView?
body: <p>I'm developing a browser for Android.</p>
  
  <p>Is it possible to create a <code>Checkbox Preference</code> to enable and disable Flash plugin (<code>webview.setPluginsEnabled</code>) in the <code>Preferences</code>?</p>
  
  <pre><code>&lt;CheckBoxPreference
  android:title="Enable/Disable Flash"
  android:key="chkbox_flash"
  
  Here I need the code to set WebView.getSettings().setPluginsEnabled(boolean) 
  to true or to false /&gt;
  </code></pre>