loading flash files (.swf) webview in android
11,954
I think You should implement setPluginsEnabled method.
example
String url ="file:///android_asset/hoge.swf";
WebView wv=(WebView) findViewById(R.id.WebView01);
wv.getSettings().setPluginsEnabled(true);
wv.loadUrl(url);
Related videos on Youtube
Comments
-
Kruti Mevada almost 2 years
Possible Duplicate:
Load an SWF into a WebViewI have a .swf file and I want to open it into a webview and also want to play flash games loaded there in the webview. How do I do that?
I am getting swf file in encoded form in webview instead of a clock.