How can I play .flv video in Android?
<p>I am trying to play Flash video in Android but it's not working. Here I used a WebView in my Android application but it has a problem. I've shown that code:</p>

<pre><code>    WebView wbView=(WebView)findViewById(R.id.webView);
    wbView.getSettings().setJavaScriptEnabled(true);
    String htmlCode="&lt;html&gt;" +
                    "&lt;head&gt;" +
                    "&lt;script src='http://www.exapmle.com/video/swfobject.js' type='text/javascript'&gt;&lt;/script&gt;" +
                    "&lt;/head&gt;" +
                    "&lt;body&gt;" +
                    "&lt;div id='flvplayer'&gt;&lt;img src='http://www.exapmle.com/video/trusted.jpg'&gt;&lt;/div&gt;" +
                    "&lt;script type='text/javascript'&gt;" +
                    "var so = new SWFObject('http://www.exapmle.com/video/TrustedComputing_LAFKON_LOW.flv', 'swfplayer', '400', '327', '9', '#000000');" +
                    "so.addVariable('flv', 'http://www.exapmle.com/video/TrustedComputing_LAFKON_LOW.flv');" +
                    "so.addVariable('jpg','http://www.exapmle.com/video/trusted.jpg');" +
                    "so.addVariable('autoplay','false');" +
                    "so.addVariable('backcolor','000000');" +
                    "so.addVariable('frontcolor','ffffff');" +
                    "so.write('flvplayer');" +
                    "&lt;/script&gt;" +
                    "&lt;/body&gt;" +
                    "&lt;/html&gt;";
    wbView.loadData(htmlCode, "text/html", null);
</code></pre>
