Flash video not displaying in WebView for Android ics

Standard

Just set your WebView plugin state on:

webview.getSettings().setPluginState(PluginState.ON);

put your swf file in assets folder and open it in WebView some thing like this:

webview.loadUrl("file:///android_asset/test.swf");

and simply add this to the tag under your Applications Manifest XML:

android:hardwareAccelerated="true"

Leave a Reply

Your email address will not be published. Required fields are marked *