title: how to run the .swf file in android emulator?
body: <p>i have an swf file in local assets folder i have written the code like</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      Context mContext= PanchangamActivity.this;
  
       WebView wv=new WebView(mContext);
       wv = (WebView)findViewById(R.id.webView1);
       wv.getSettings().setJavaScriptEnabled(true);
       wv.getSettings().setPluginsEnabled(true);
       wv.getSettings().setAllowFileAccess(true);
       wv.loadUrl("file:///android_asset/www/swf2.html");
   }
  </code></pre>
  
  <p>SWF2.HTML:</p>
  
  <pre><code> &lt;html&gt;
     &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html" charset="UTF-8" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;object width="215" height="140"&gt;
      &lt;param name="movie" value="flash.swh"&gt;
        &lt;embed src="c:\Users\janardhan\Desktop\flash.swf"
             width="215" height="140"&gt;
        &lt;/embed&gt;
    &lt;/object&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>now while running that in android emulator i am getting<img src="https://i.stack.imgur.com/V5XcC.png" alt="enter image description here"> </p>
  
  <p>please help me! how to solve this</p>