0

I read this 3 questions

Problem loading swf file in android

Flash is not loading in Web view in Android

Load an SWF into a WebView

But I could not to load my SWF into webView

My code is here

WebView webView = new WebView(context);
    webView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));

webView.getSettings().setJavaScriptEnabled(true);

    addView(webView);
    webView.loadUrl("file:///android_asset/" + dir +  File.separator + webapp.getFolder() + File.separator + webapp.getSource());

My assets

My assets

Log

my log

after to call, the screen stay just white

Community
  • 1
  • 1
Igor Ronner
  • 1,565
  • 2
  • 14
  • 31

1 Answers1

1

i think you missing this call

webvIEW.getSettings().setPluginsEnabled(true);
Mero
  • 622
  • 12
  • 24