Load an SWF into a WebView

Joren picture Joren · Jun 8, 2010 · Viewed 18.3k times · Source

I'm having problems with this. If I go to an SWF directly in the browser, it works fine. If I attempt to use loadUrl on an SWF file it stays blank and loads nothing.

Answer

Joren picture Joren · Jun 8, 2010

Figured it out. You have to enable plugins.

webview.getSettings().setPluginsEnabled(true);