android - Webview plugins are no longer supported. Is there another way to display flash? -


i making flash game android app following code. works fine compiler gives error

the method setpluginstate(websettings.pluginstate) type websettings deprecated

here code.

webview.getsettings().setjavascriptenabled(true);  webview.getsettings().setpluginstate(pluginstate.on);  webview.loadurl("file:///android_asset/myflashgame.swf"); 

this code works wont long.

is there way make app of flash game? tried converting .swf file html5 google swiffy game became slow , laggy. there way?


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -