Using WebView and Adobe Flash Player plugin to play .swf flash doesn't work in Android 4.4.2? -
in project, need play local .swf flash files in assets folder. works in android 4.1.1, not in android 4.4.2; shows white screen.
i've searched internet, , said android 4.4.2 doesn't support kind of situation more.
here code
websettings websettings = this.mwebview.getsettings(); websettings.setjavascriptenabled(true); websettings.setpluginstate(websettings.pluginstate.on); websettings.setcachemode(websettings.load_cache_else_network); mwebview.setbackgroundresource(r.drawable.background_main); mwebview.loadurl("file:///android_asset/flash/chinese_culture/main_culture.swf");
whether declare android:hardwareaccelerated="true"
in androidmanifest.xml or not, doesn't work either.
Comments
Post a Comment