How to run flash from android application -


i trying create application can read "swf" flash file not working in may app.

is there jar/library should include in project run "swf" file smoothly.

my code :

   webview wv = (webview) findviewbyid(r.id.wbmyview);    websettings ws = wv.getsettings();    ws.setpluginstate(pluginstate.on);    ws.setjavascriptenabled(true);    ws.setallowfileaccess(true);    wv.loadurl("http://www.myweb.com/myflash/file1.swf"); 

please 1 can me.

try this

webview.getsettings().setpluginsenabled(true); deprecated method try targeting min sdk version 8 (2.2) , setting webview.getsettings().setpluginstate(websettings.pluginstate.on);

reference


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -