how to play swf file in android?
<p>I am trying to play swf file in android 4.0.3 tablet. Emulator is just showing some box and Device showing the black screen. I am using API 15 and the code is given below</p>

<pre><code> public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        WebView wv = new WebView(this);
        WebSettings webSettings = wv.getSettings();
        webSettings.setJavaScriptEnabled(true);
        webSettings.setPluginState(WebSettings.PluginState.ON);
        webSettings.setPluginsEnabled(true);
        wv.loadUrl("file:///android_asset/demo.swf");
        setContentView(wv);
 }
</code></pre>

<p>I already add <code>android:hardwareAccelerated = "true"</code> in the manifest file and also checked after installing flash player in emulator as well as in device. </p>
