title: Android 4.0 enable flash in webview
body: <p>Is there a certified way of enabling flash in a webview? I have a Samsung Galaxy S3 with ICS installed. flash works in my normal browser(the default browser that says <code>Internet</code> on the icon). I made an app which has webview in its layout. I load the same page in this <code>webview</code> and flash doesn't work. I tried adding the following line in onCreate of my main activity:</p>
  
  <pre><code>WebView webView1=(WebView)findViewById(...)
  webView1.getSettings().setPluginState(WebView.PluginState.ON);
  </code></pre>
  
  <p>but doesn't work. I also tried using <code>setPluginsEnabled</code>(<a href="http://developer.android.com/reference/android/webkit/WebSettings.html#setPluginsEnabled%28boolean%29" rel="nofollow">deprecated</a>) but that also didn't work. Also, I set </p>
  
  <pre><code>android:hardwareAccelerated="true"
  </code></pre>
  
  <p>in menifest file in the application tag. But it still doesn't work.</p>
  
  <p>So has anyone made it work? Please help.</p>